From a4269b8da0a8443b75af440c1d9c54d4c6ec1f75 Mon Sep 17 00:00:00 2001 From: Noah Masur Date: Fri, 9 Apr 2021 22:00:39 -0400 Subject: [PATCH] nomad completions --- fish.configlink/completions/nomad.fish | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 fish.configlink/completions/nomad.fish 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)" +