summaryrefslogtreecommitdiffstats
path: root/bash-completion/chsh
diff options
context:
space:
mode:
Diffstat (limited to 'bash-completion/chsh')
-rw-r--r--bash-completion/chsh2
1 files changed, 1 insertions, 1 deletions
diff --git a/bash-completion/chsh b/bash-completion/chsh
index 70641947c..fbf8add88 100644
--- a/bash-completion/chsh
+++ b/bash-completion/chsh
@@ -6,7 +6,7 @@ _chsh_module()
prev="${COMP_WORDS[COMP_CWORD-1]}"
case $prev in
'-s'|'--shell')
- COMPREPLY=( $(compgen -W "$(chsh -l)" -- $cur) )
+ COMPREPLY=( $(compgen -W "$($1 -l)" -- $cur) )
return 0
;;
'-u'|'--help'|'-v'|'--version')