summaryrefslogtreecommitdiff
path: root/completions/abook
diff options
context:
space:
mode:
Diffstat (limited to 'completions/abook')
-rw-r--r--completions/abook12
1 files changed, 6 insertions, 6 deletions
diff --git a/completions/abook b/completions/abook
index 4bb0e8e3..29d326b9 100644
--- a/completions/abook
+++ b/completions/abook
@@ -22,21 +22,21 @@ _abook()
case $prev in
--informat)
- COMPREPLY=( $( compgen -W "$($1 --formats | \
+ COMPREPLY=( $(compgen -W "$($1 --formats | \
command sed -n -e 's/^'$'\t''\([a-z]*\).*/\1/p' -e '/^$/q')" \
- -- "$cur" ) )
+ -- "$cur") )
;;
--outformat)
- COMPREPLY=( $( compgen -W "$($1 --formats | \
+ COMPREPLY=( $(compgen -W "$($1 --formats | \
command sed -n -e '/^$/,$s/^'$'\t''\([a-z]*\).*/\1/p')" \
- -- "$cur" ) )
+ -- "$cur") )
;;
--infile)
- COMPREPLY=( $( compgen -W stdin -- "$cur" ) )
+ COMPREPLY=( $(compgen -W stdin -- "$cur") )
_filedir
;;
--outfile)
- COMPREPLY=( $( compgen -W stdout -- "$cur" ) )
+ COMPREPLY=( $(compgen -W stdout -- "$cur") )
_filedir
;;
--config|--datafile)