mirror of
https://github.com/fish-shell/fish-shell.git
synced 2024-12-01 15:14:26 +08:00
3466f55ea0
darcs-hash:20060123113936-ac50b-ba6f2516a8ce47734afd8da50fadf8995362da65.gz
13 lines
574 B
Fish
13 lines
574 B
Fish
# Completions for su
|
|
|
|
complete -x -c su -a "(__fish_complete_users)"
|
|
complete -c su -s l -l login -d (_ "Make login shell")
|
|
complete -r -c su -s c -l command -d (_ "Pass command to shell") -xa "(__fish_complete_command)"
|
|
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")
|
|
complete -x -c su -s s -l shell -a "(cat /etc/shells)"
|
|
complete -c su -l help -d (_ "Display help and exit")
|
|
complete -c su -l version -d (_ "Display version and exit")
|
|
|