🐛 fix(fish): check if some cli apps are installed before sourcing them
This commit is contained in:
parent
5d7f918d86
commit
ed17c84f03
4 changed files with 12 additions and 4 deletions
|
@ -1,3 +1,5 @@
|
||||||
if status is-interactive
|
if status is-interactive
|
||||||
atuin init fish | source
|
if type atuin >/dev/null ^&1
|
||||||
|
atuin init fish | source
|
||||||
|
end
|
||||||
end
|
end
|
||||||
|
|
|
@ -1 +1,3 @@
|
||||||
mise activate fish | source
|
if type mise >/dev/null ^&1
|
||||||
|
mise activate fish | source
|
||||||
|
end
|
||||||
|
|
|
@ -1 +1,3 @@
|
||||||
starship init fish | source
|
if type starship >/dev/null ^&1
|
||||||
|
starship init fish | source
|
||||||
|
end
|
||||||
|
|
|
@ -1 +1,3 @@
|
||||||
zoxide init fish | source
|
if type zoxide >/dev/null ^&1
|
||||||
|
zoxide init fish | source
|
||||||
|
end
|
||||||
|
|
Loading…
Add table
Reference in a new issue