summaryrefslogtreecommitdiff
path: root/completions/export
diff options
context:
space:
mode:
Diffstat (limited to 'completions/export')
-rw-r--r--completions/export7
1 files changed, 3 insertions, 4 deletions
diff --git a/completions/export b/completions/export
index 31715f9a..816182f6 100644
--- a/completions/export
+++ b/completions/export
@@ -33,7 +33,7 @@ _export()
case $cur in
*=)
- local pval=$( quote "$( eval printf %s \"\$${cur%=}\" )" )
+ local pval=$(quote "$(eval printf %s \"\$${cur%=}\")")
# Complete previous value if it's not empty.
if [[ $pval != \'\' ]]; then
COMPREPLY=( "$pval" )
@@ -48,8 +48,7 @@ _export()
;;
*)
if [[ $cword -eq 1 && $cur == -* ]]; then
- COMPREPLY=( $( compgen -W \
- '-p $( _parse_usage "$1" )' -- "$cur" ) )
+ COMPREPLY=( $(compgen -W '-p $(_parse_usage "$1")' -- "$cur") )
return
fi
local suffix
@@ -57,7 +56,7 @@ _export()
suffix+==
compopt -o nospace
fi
- COMPREPLY=( $( compgen -A $action -S "$suffix" -- "$cur" ) )
+ COMPREPLY=( $(compgen -A $action -S "$suffix" -- "$cur") )
;;
esac
} &&