diff options
author | axel <axel@liljencrantz.se> | 2006-02-17 20:13:39 +1000 |
---|---|---|
committer | axel <axel@liljencrantz.se> | 2006-02-17 20:13:39 +1000 |
commit | 343cafef346543282b5b6e825bc8f9dd10028a48 (patch) | |
tree | 1bcf221ecb525c7aeadc8325e7b780d3656e544b /share/completions/su.fish | |
parent | 95a01f3c8f15034433ffce368d8f2d13d925139c (diff) |
Redo installation file structure, move lots of things to $PREFIX/share/fish
darcs-hash:20060217101339-ac50b-d93d2c620a4b7f75f05ff461a6edbee001da7613.gz
Diffstat (limited to 'share/completions/su.fish')
-rw-r--r-- | share/completions/su.fish | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/share/completions/su.fish b/share/completions/su.fish new file mode 100644 index 00000000..6bdabdd0 --- /dev/null +++ b/share/completions/su.fish @@ -0,0 +1,12 @@ +# 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") + |