dotfiles/fish.configlink/completions/nomad.fish
2021-04-09 22:00:39 -04:00

10 lines
208 B
Fish

function __complete_nomad
set -lx COMP_LINE (commandline -cp)
test -z (commandline -ct)
and set COMP_LINE "$COMP_LINE "
/usr/local/bin/nomad
end
complete -f -c nomad -a "(__complete_nomad)"