Bash: Create a hacky workaround flag
This commit is contained in:
parent
5c89f7e27d
commit
1c8d9e6e81
@ -6,6 +6,12 @@
|
|||||||
# If not running interactively, don't do anything
|
# If not running interactively, don't do anything
|
||||||
[[ $- != *i* ]] && return
|
[[ $- != *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
|
||||||
source /etc/profile
|
source /etc/profile
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user