shell: launch zsh if we can
This commit is contained in:
parent
3d44475583
commit
b6ca38a4b5
3 changed files with 13 additions and 0 deletions
|
@ -13,3 +13,11 @@ if command -v zoxide > /dev/null 2>&1 || ${SKIP_ZOXIDE:-false}; then
|
|||
eval "$(zoxide init posix --hook prompt)"
|
||||
fi
|
||||
fi
|
||||
|
||||
# Switch to zsh if we're told to
|
||||
if [ "${LAUNCH_ZSH:-false}" = true ] && command -v zsh > /dev/null 2>&1; then
|
||||
LAUNCH_ZSH=false exec zsh
|
||||
fi
|
||||
|
||||
# terminal colorscheme
|
||||
careful_source "$SHELL_CONFIG_DIR/colors.sh"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue