Bash: Create a hacky workaround flag

This commit is contained in:
salt 2017-08-31 22:50:47 +00:00
parent 5c89f7e27d
commit 1c8d9e6e81

View File

@ -6,6 +6,12 @@
# If not running interactively, don't do anything
[[ $- != *i* ]] && return
# Sometimes you can't change your shell. Sometimes you have to implement hacky
# workarounds
if [ -f ~/.bash-to-zsh ]; then
exec zsh
fi
# Source /etc/profile
source /etc/profile