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

template/profile: Require interactive shell
This commit is contained in:
Nils Winkler
2019-02-05 08:58:23 +01:00
committed by GitHub

View File

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