diff --git a/fish.configlink/completions/nomad.fish b/fish.configlink/completions/nomad.fish new file mode 100644 index 0000000..e1e3da1 --- /dev/null +++ b/fish.configlink/completions/nomad.fish @@ -0,0 +1,9 @@ + +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)" +