summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--etc/completions/_cryptsetup6
-rw-r--r--etc/completions/_twidge10
2 files changed, 10 insertions, 6 deletions
diff --git a/etc/completions/_cryptsetup b/etc/completions/_cryptsetup
index 854bfd2..2c06b9a 100644
--- a/etc/completions/_cryptsetup
+++ b/etc/completions/_cryptsetup
@@ -68,7 +68,8 @@ function _cryptsetup_arguments {
esac
}
-_arguments \
+function _cryptsetup {
+ _arguments \
'(-v --verbose)'{-v,--verbose}'[enable verbose mode]' \
'--debug[enable debug mode]' \
'(-h --hash)'{-h,--hash}'[hash algorithm]:hash algorithm' \
@@ -96,3 +97,6 @@ _arguments \
'--version[show version information]' \
':action:_cryptsetup_action' \
'*::arguments:_cryptsetup_arguments'
+}
+
+_cryptsetup "$@"
diff --git a/etc/completions/_twidge b/etc/completions/_twidge
index 3c128e4..0386990 100644
--- a/etc/completions/_twidge
+++ b/etc/completions/_twidge
@@ -71,10 +71,10 @@ function _twidge_args {
function _twidge {
_arguments \
- '(-c --config)'{-c,--config}'[config file]:file:_files' \
- '(-d --debug)'{-d,--debug}'[enable debugging output]' \
- '(-): :_twidge_command' \
- '(-)*:: :_twidge_args'
+ '(-c --config)'{-c,--config}'[config file]:file:_files' \
+ '(-d --debug)'{-d,--debug}'[enable debugging output]' \
+ '(-): :_twidge_command' \
+ '(-)*:: :_twidge_args'
}
-_twidge
+_twidge "$@"