diff options
author | axel <axel@liljencrantz.se> | 2006-01-23 21:39:36 +1000 |
---|---|---|
committer | axel <axel@liljencrantz.se> | 2006-01-23 21:39:36 +1000 |
commit | 3466f55ea0d1884b5f46b897b9aa1c0b49ca539d (patch) | |
tree | 869af7ef682d07d2364e45a446d41e649d4a3eae /init/completions/type.fish | |
parent | b969a175d4b5bddbe28c0c18cbe61a201758d171 (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/type.fish')
-rw-r--r-- | init/completions/type.fish | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/init/completions/type.fish b/init/completions/type.fish index d1bbc98a..afd99f95 100644 --- a/init/completions/type.fish +++ b/init/completions/type.fish @@ -5,3 +5,8 @@ complete -c type -s f -l no-functions -d (_ "Supress function and builtin lookup complete -c type -s t -l type -d (_ "Print command type") complete -c type -s p -l path -d (_ "Print path to command, or nothing if name is not a command") complete -c type -s P -l force-path -d (_ "Print path to command") + +complete -c type -a "(builtin -n)" -d (_ "Builtin") +complete -c type -a "(functions -n)" -d (_ "Function") +complete -c type -a "(__fish_complete_command)" -d (_ "Command") + |