set bash as default shell

This commit is contained in:
Alexander Navarro 2025-06-13 16:32:37 -04:00
parent 5569b6fe10
commit cbe791ead3
7 changed files with 45 additions and 19 deletions

View file

@ -79,10 +79,4 @@ zinit cdreplay -q
# │ Init external programs │
# ╰──────────────────────────────────────────────────────────╯
# eval "$(zoxide init --cmd cd zsh)"
# Drop into fish
if [[ $(ps --no-header --pid=$PPID --format=comm) != "fish" && -z ${BASH_EXECUTION_STRING} && ${SHLVL} == 1 ]]; then
# shopt -q login_shell && LOGIN_OPTION='--login' || LOGIN_OPTION=''
exec fish $LOGIN_OPTION
fi
eval "$(zoxide init --cmd cd zsh)"