summaryrefslogtreecommitdiff
path: root/.zsh/completions/_net-profile
diff options
context:
space:
mode:
authorPatrick Simianer <p@simianer.de>2014-09-21 11:15:02 +0100
committerPatrick Simianer <p@simianer.de>2014-09-21 11:15:02 +0100
commitace10632b60d783c1089a73e6898b4ec31fab9c3 (patch)
tree1527f63b84dd8fe0fe726cf5486a2b8e7042d9e7 /.zsh/completions/_net-profile
parentbc83848cfe08002d8a916b1f8329b50a9a39984d (diff)
zshrc: custom completion
Diffstat (limited to '.zsh/completions/_net-profile')
-rw-r--r--.zsh/completions/_net-profile3
1 files changed, 3 insertions, 0 deletions
diff --git a/.zsh/completions/_net-profile b/.zsh/completions/_net-profile
new file mode 100644
index 0000000..2c51335
--- /dev/null
+++ b/.zsh/completions/_net-profile
@@ -0,0 +1,3 @@
+#compdef net-profile
+
+_arguments "1: :($(ls -1 ~/.net_profiles | cut -d '.' -f 1))"