aboutsummaryrefslogtreecommitdiffhomepage
path: root/init/completions/su.fish
diff options
context:
space:
mode:
authorGravatar axel <axel@liljencrantz.se>2006-01-23 21:39:36 +1000
committerGravatar axel <axel@liljencrantz.se>2006-01-23 21:39:36 +1000
commit3466f55ea0d1884b5f46b897b9aa1c0b49ca539d (patch)
tree869af7ef682d07d2364e45a446d41e649d4a3eae /init/completions/su.fish
parentb969a175d4b5bddbe28c0c18cbe61a201758d171 (diff)
Add completions for the time command, and improve completions for the type builtin and the su command
darcs-hash:20060123113936-ac50b-ba6f2516a8ce47734afd8da50fadf8995362da65.gz
Diffstat (limited to 'init/completions/su.fish')
-rw-r--r--init/completions/su.fish2
1 files changed, 1 insertions, 1 deletions
diff --git a/init/completions/su.fish b/init/completions/su.fish
index fa64aebe..6bdabdd0 100644
--- a/init/completions/su.fish
+++ b/init/completions/su.fish
@@ -2,7 +2,7 @@
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 -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")