gracefully fallback if atuin or zoxide aren't installed

This commit is contained in:
2024-02-07 12:26:00 -07:00
parent c6379020f9
commit b9a8370ca2
3 changed files with 7 additions and 3 deletions

View File

@@ -1,7 +1,11 @@
if status is-interactive
# Commands to run in interactive sessions can go here
zoxide init fish | source
atuin init fish | source
if type -q $zoxide
zoxide init fish | source
end
if type -q $atuin
atuin init fish | source
end
if test -f ~/.config/fish/config.fish.local
source ~/.config/fish/config.fish.local