Merge pull request #1325 from rico-chet/interactive-shell-only

template/profile: Require interactive shell
pull/1328/head
Nils Winkler 2019-02-05 08:58:23 +01:00 committed by GitHub
commit f02dab437a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 6 additions and 0 deletions

View File

@ -1,5 +1,11 @@
#!/usr/bin/env bash #!/usr/bin/env bash
# If not running interactively, don't do anything
case $- in
*i*) ;;
*) return;;
esac
# Path to the bash it configuration # Path to the bash it configuration
export BASH_IT="{{BASH_IT}}" export BASH_IT="{{BASH_IT}}"