summaryrefslogtreecommitdiff
path: root/etc
diff options
context:
space:
mode:
Diffstat (limited to 'etc')
-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
+}