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/type.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/type.fish')
-rw-r--r-- | share/completions/type.fish | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/share/completions/type.fish b/share/completions/type.fish new file mode 100644 index 00000000..afd99f95 --- /dev/null +++ b/share/completions/type.fish @@ -0,0 +1,12 @@ + +complete -c type -s h -l help -d (_ "Display help and exit") +complete -c type -s a -l all -d (_ "Print all possible definitions of the specified name") +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") + |