summaryrefslogtreecommitdiff
path: root/completions/mcrypt
diff options
context:
space:
mode:
Diffstat (limited to 'completions/mcrypt')
-rw-r--r--completions/mcrypt20
1 files changed, 10 insertions, 10 deletions
diff --git a/completions/mcrypt b/completions/mcrypt
index 6d6a898f..f6094a22 100644
--- a/completions/mcrypt
+++ b/completions/mcrypt
@@ -8,27 +8,27 @@ _mcrypt()
case $prev in
-g|--openpgp-z)
- COMPREPLY=( $( compgen -W '{0..9}' -- "$cur" ) )
+ COMPREPLY=( $(compgen -W '{0..9}' -- "$cur") )
return
;;
-o|--keymode)
- COMPREPLY=( $( compgen -W '$( $1 --list-keymodes \
- 2>/dev/null )' -- "$cur" ) )
+ COMPREPLY=( $(compgen -W '$($1 --list-keymodes 2>/dev/null )' \
+ -- "$cur") )
return
;;
-m|--mode)
- COMPREPLY=( $( compgen -W "$( $1 --list 2>/dev/null | \
- cut -d: -f2- )" -- "$cur" ) )
+ COMPREPLY=( $(compgen -W "$($1 --list 2>/dev/null | cut -d: -f2-)" \
+ -- "$cur") )
return
;;
-a|--algorithm)
- COMPREPLY=( $( compgen -W "$( $1 --list 2>/dev/null | \
- awk '{print $1}' )" -- "$cur" ) )
+ COMPREPLY=( $(compgen -W "$($1 --list 2>/dev/null | \
+ awk '{print $1}')" -- "$cur") )
return
;;
-h|--hash)
- COMPREPLY=( $( compgen -W '$( $1 --list-hash 2>/dev/null | \
- command sed -e 1d )' -- "$cur" ) )
+ COMPREPLY=( $(compgen -W '$($1 --list-hash 2>/dev/null | \
+ command sed -e 1d)' -- "$cur") )
return
;;
-k|-s|--key|--keysize)
@@ -45,7 +45,7 @@ _mcrypt()
esac
if [[ "$cur" == -* ]]; then
- COMPREPLY=( $( compgen -W '$( _parse_help "$1" )' -- "$cur" ) )
+ COMPREPLY=( $(compgen -W '$(_parse_help "$1")' -- "$cur") )
elif [[ ${words[0]} == mdecrypt ]]; then
_filedir nc
else