aboutsummaryrefslogtreecommitdiffhomepage
path: root/share/completions/type.fish
blob: 5a40e80080e75628ee0911ec3b8edcee7dda3e2b (plain)
1
2
3
4
5
6
7
8
9
10
11
12

complete -c type -s h -l help -d (N_ "Display help and exit")
complete -c type -s a -l all -d (N_ "Print all possible definitions of the specified name")
complete -c type -s f -l no-functions -d (N_ "Supress function and builtin lookup")
complete -c type -s t -l type -d (N_ "Print command type")
complete -c type -s p -l path -d (N_ "Print path to command, or nothing if name is not a command")
complete -c type -s P -l force-path -d (N_ "Print path to command")

complete -c type -a "(builtin -n)" -d (N_ "Builtin")
complete -c type -a "(functions -n)" -d (N_ "Function")
complete -c type -a "(__fish_complete_command)" -d (N_ "Command")