su: Add --session-command arg completion.

This commit is contained in:
Ville Skyttä 2012-02-18 10:13:24 +02:00
parent e4fe946621
commit e7c4035089

View File

@ -15,7 +15,7 @@ _su() # linux-specific completion
_filedir
return
;;
-c|--command)
-c|--command|--session-command)
local IFS=$'\n'
compopt -o filenames
COMPREPLY=( $( compgen -d -c -- "$cur" ) )