summaryrefslogtreecommitdiff
path: root/etc/completions
diff options
context:
space:
mode:
authorDaniel Friesel <derf@derf.homelinux.org>2009-03-07 18:53:08 +0100
committerDaniel Friesel <derf@derf.homelinux.org>2009-03-07 18:53:08 +0100
commit1622717d4ac8a53fa9330e512189a4d63b589087 (patch)
tree4f0c23554ae1fe0d09828be6240eef2c01971803 /etc/completions
parent334e4ab181ac6be7a464ce0b48836a5d390e40fe (diff)
Began cryptsetup completion
Diffstat (limited to 'etc/completions')
-rw-r--r--etc/completions/_cryptsetup11
1 files changed, 11 insertions, 0 deletions
diff --git a/etc/completions/_cryptsetup b/etc/completions/_cryptsetup
new file mode 100644
index 0000000..05a5065
--- /dev/null
+++ b/etc/completions/_cryptsetup
@@ -0,0 +1,11 @@
+#compdef cryptsetup
+
+typeset expl
+
+if (( CURRENT == 2 )) {
+ _wanted action expl action \
+ compadd create remove status resize \
+ luks{Format,Open,Close,{Add,Remove}Key} \
+ luks{KillSlot,UUID,Dump} \
+ isLuks
+}