mirror of
https://mzte.de/git/LordMZTE/dotfiles.git
synced 2024-12-13 15:52: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'
|
||||
|
||||
# fw init
|
||||
if test -x (command -v fw)
|
||||
if test -x (command -v fzf)
|
||||
fw print-fish-setup -f | source
|
||||
else
|
||||
fw print-fish-setup | source
|
||||
end
|
||||
if which fw &> /dev/null
|
||||
if test -x (command -v fw)
|
||||
if test -x (command -v fzf)
|
||||
fw print-fish-setup -f | source
|
||||
else
|
||||
fw print-fish-setup | source
|
||||
end
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue