mirror of
https://github.com/fish-shell/fish-shell
synced 2024-12-29 14:23:09 +00:00
7ddecde543
darcs-hash:20050920133155-ac50b-9a14c6c664dd03afbe8e15e7c7998fcfb5c3c750.gz
12 lines
513 B
Fish
12 lines
513 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"
|
|
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"
|
|
|