Check if the command is available
if available fzf
# if 'fzf' command is available
else
# if not
end
Using Fisherman
$ fisher Tosuke/available.fish
Using Fundle
Add
fundle plugin 'Tosuke/available.fish'
to your config.fish
, reload your shell and run fundle install
Using Fresco
$ fresco Tosuke/available.fish
$ curl https://raw.githubusercontent.com/Tosuke/available.fish/master/functions/available.fish > $HOME/.config/fish/functions/available.fish