summaryrefslogtreecommitdiff
path: root/completions/_su
diff options
context:
space:
mode:
Diffstat (limited to 'completions/_su')
-rw-r--r--completions/_su6
1 files changed, 3 insertions, 3 deletions
diff --git a/completions/_su b/completions/_su
index 2b069498..9c0f59c1 100644
--- a/completions/_su
+++ b/completions/_su
@@ -21,7 +21,7 @@ _su() # linux-specific completion
-c|--command|--session-command)
local IFS=$'\n'
compopt -o filenames
- COMPREPLY=( $( compgen -d -c -- "$cur" ) )
+ COMPREPLY=( $(compgen -d -c -- "$cur") )
return
;;
esac
@@ -29,12 +29,12 @@ _su() # linux-specific completion
$split && return
if [[ "$cur" == -* ]]; then
- COMPREPLY=( $( compgen -W '$( _parse_help "$1" --help )' -- "$cur" ) )
+ COMPREPLY=( $(compgen -W '$(_parse_help "$1" --help)' -- "$cur") )
[[ $COMPREPLY == *= ]] && compopt -o nospace
return
fi
- COMPREPLY=( $( compgen -u -- "$cur" ) )
+ COMPREPLY=( $(compgen -u -- "$cur") )
} &&
complete -F _su su