summaryrefslogtreecommitdiff
path: root/zsh/.zsh/completions/_net_profile
diff options
context:
space:
mode:
authorPatrick Simianer <p@simianer.de>2016-04-29 07:10:19 +0200
committerPatrick Simianer <p@simianer.de>2016-04-29 07:10:19 +0200
commitb9d4f7fcd076551c48d93839043dbacbeec2bb79 (patch)
tree5960435d3a3eee8e6f23e3f073197d814aca4c8c /zsh/.zsh/completions/_net_profile
parent10b92c3b6f308922a064c9320460ef5c8bb70251 (diff)
zsh: fix/add completions, hostnames
Diffstat (limited to 'zsh/.zsh/completions/_net_profile')
-rw-r--r--zsh/.zsh/completions/_net_profile4
1 files changed, 4 insertions, 0 deletions
diff --git a/zsh/.zsh/completions/_net_profile b/zsh/.zsh/completions/_net_profile
new file mode 100644
index 0000000..a4be43d
--- /dev/null
+++ b/zsh/.zsh/completions/_net_profile
@@ -0,0 +1,4 @@
+#compdef net-profile
+
+_arguments "1: :($(ls -1 ~/.net_profiles | cut -d '.' -f 1))"
+