2005-09-20 13:31:55 +00:00
|
|
|
# Completions for su
|
|
|
|
|
|
|
|
complete -x -c su -a "(__fish_complete_users)"
|
2006-01-08 02:56:56 +00:00
|
|
|
complete -c su -s l -l login -d (_ "Make login shell")
|
2006-01-23 11:39:36 +00:00
|
|
|
complete -r -c su -s c -l command -d (_ "Pass command to shell") -xa "(__fish_complete_command)"
|
2006-01-08 02:56:56 +00:00
|
|
|
complete -c su -s f -l fast -d (_ "Pass -f to the shell")
|
|
|
|
complete -c su -s m -l preserve_environment -d (_ "Preserve environment")
|
|
|
|
complete -c su -s p -d (_ "Preserve environment")
|
2005-09-20 13:31:55 +00:00
|
|
|
complete -x -c su -s s -l shell -a "(cat /etc/shells)"
|
2006-01-08 02:56:56 +00:00
|
|
|
complete -c su -l help -d (_ "Display help and exit")
|
|
|
|
complete -c su -l version -d (_ "Display version and exit")
|
2005-09-20 13:31:55 +00:00
|
|
|
|