summaryrefslogtreecommitdiff
path: root/zsh/.zsh
diff options
context:
space:
mode:
Diffstat (limited to 'zsh/.zsh')
-rw-r--r--zsh/.zsh/completions/_crypt_disk4
-rw-r--r--zsh/.zsh/completions/_net_profile (renamed from zsh/.zsh/completions/_net-profile)5
2 files changed, 7 insertions, 2 deletions
diff --git a/zsh/.zsh/completions/_crypt_disk b/zsh/.zsh/completions/_crypt_disk
new file mode 100644
index 0000000..656310e
--- /dev/null
+++ b/zsh/.zsh/completions/_crypt_disk
@@ -0,0 +1,4 @@
+#compdef crypt-disk
+
+_arguments "1: :(mount umount)"
+
diff --git a/zsh/.zsh/completions/_net-profile b/zsh/.zsh/completions/_net_profile
index 4804283..a4be43d 100644
--- a/zsh/.zsh/completions/_net-profile
+++ b/zsh/.zsh/completions/_net_profile
@@ -1,3 +1,4 @@
-#compdef net_profile
-
+#compdef net-profile
+
_arguments "1: :($(ls -1 ~/.net_profiles | cut -d '.' -f 1))"
+