🐛 fix(fish): check if some cli apps are installed before sourcing them

This commit is contained in:
Sergio Laín 2024-04-07 15:18:42 +02:00
parent 5d7f918d86
commit ed17c84f03
No known key found for this signature in database
GPG key ID: 14C9B8080681777B
4 changed files with 12 additions and 4 deletions

View file

@ -1,3 +1,5 @@
if status is-interactive
if type atuin >/dev/null ^&1
atuin init fish | source
end
end

View file

@ -1 +1,3 @@
if type mise >/dev/null ^&1
mise activate fish | source
end

View file

@ -1 +1,3 @@
if type starship >/dev/null ^&1
starship init fish | source
end

View file

@ -1 +1,3 @@
if type zoxide >/dev/null ^&1
zoxide init fish | source
end