summaryrefslogtreecommitdiff
path: root/zsh/.zsh/completions/_net-profile
diff options
context:
space:
mode:
authorPatrick Simianer <p@simianer.de>2016-04-16 16:31:55 +0200
committerPatrick Simianer <p@simianer.de>2016-04-16 16:31:55 +0200
commit07e3b984c41b36a2860c5e97626b370dc14d7b8e (patch)
tree1c97dfa5049f9ae9223de2fa622e5e07300eb5a8 /zsh/.zsh/completions/_net-profile
parent7467aa06cb1ce27aae295b545a381d5a98208694 (diff)
zsh: mv
Diffstat (limited to 'zsh/.zsh/completions/_net-profile')
-rw-r--r--zsh/.zsh/completions/_net-profile3
1 files changed, 3 insertions, 0 deletions
diff --git a/zsh/.zsh/completions/_net-profile b/zsh/.zsh/completions/_net-profile
new file mode 100644
index 0000000..4804283
--- /dev/null
+++ b/zsh/.zsh/completions/_net-profile
@@ -0,0 +1,3 @@
+#compdef net_profile
+
+_arguments "1: :($(ls -1 ~/.net_profiles | cut -d '.' -f 1))"