add fish shell config

This commit is contained in:
Alexander Navarro 2025-06-06 09:35:53 -04:00
parent e01cd5110c
commit 5569b6fe10
60 changed files with 1185 additions and 1 deletions

View file

@ -79,4 +79,10 @@ zinit cdreplay -q
# │ Init external programs │
# ╰──────────────────────────────────────────────────────────╯
eval "$(zoxide init --cmd cd zsh)"
# 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