mirror of
https://github.com/fish-shell/fish-shell
synced 2024-12-27 21:33:09 +00:00
c2f6c6c1d2
darcs-hash:20060301165347-ac50b-3df9feec60dd9860e0988396d10b550a501f6802.gz
12 lines
581 B
Fish
12 lines
581 B
Fish
# Completions for su
|
|
|
|
complete -x -c su -a "(__fish_complete_users)"
|
|
complete -c su -s l -l login -d (N_ "Make login shell")
|
|
complete -r -c su -s c -l command -d (N_ "Pass command to shell") -xa "(__fish_complete_command)"
|
|
complete -c su -s f -l fast -d (N_ "Pass -f to the shell")
|
|
complete -c su -s m -l preserve_environment -d (N_ "Preserve environment")
|
|
complete -c su -s p -d (N_ "Preserve environment")
|
|
complete -x -c su -s s -l shell -a "(cat /etc/shells)"
|
|
complete -c su -l help -d (N_ "Display help and exit")
|
|
complete -c su -l version -d (N_ "Display version and exit")
|
|
|