mirror of
https://mzte.de/git/LordMZTE/dotfiles.git
synced 2024-12-13 21:42:58 +01:00
fish config now works if fw
isn't installed
This commit is contained in:
parent
07d1bb0b82
commit
27e2594c5a
1 changed files with 8 additions and 6 deletions
|
@ -58,10 +58,12 @@ ifpresent opam 'eval (opam env)'
|
||||||
ifpresent navi 'navi widget fish | source'
|
ifpresent navi 'navi widget fish | source'
|
||||||
|
|
||||||
# fw init
|
# fw init
|
||||||
if test -x (command -v fw)
|
if which fw &> /dev/null
|
||||||
|
if test -x (command -v fw)
|
||||||
if test -x (command -v fzf)
|
if test -x (command -v fzf)
|
||||||
fw print-fish-setup -f | source
|
fw print-fish-setup -f | source
|
||||||
else
|
else
|
||||||
fw print-fish-setup | source
|
fw print-fish-setup | source
|
||||||
end
|
end
|
||||||
|
end
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in a new issue