tmux-dev-env-configuration/dotfiles/.config/fish/functions/__fish_prog_needs_command.fish

8 lines
124 B
Fish

function __fish_prog_needs_command
set -l cmd (commandline -opc)
if test (count $cmd) -eq 1
return 0
end
return 1
end