From 1622717d4ac8a53fa9330e512189a4d63b589087 Mon Sep 17 00:00:00 2001 From: Daniel Friesel Date: Sat, 7 Mar 2009 18:53:08 +0100 Subject: Began cryptsetup completion --- etc/completions/_cryptsetup | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 etc/completions/_cryptsetup 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 +} -- cgit v1.2.3