mirror of
https://github.com/fish-shell/fish-shell
synced 2025-01-13 13:39:02 +00:00
Completion updates
darcs-hash:20050924171512-ac50b-85aaf8a30328a3b905fa571bec13fa168a75918b.gz
This commit is contained in:
parent
fe29e1b5d4
commit
62f3b442da
3 changed files with 9 additions and 2 deletions
|
@ -2,4 +2,4 @@ set -g __fish_colors black red green brown blue magenta cyan white normal
|
|||
|
||||
complete -c set_color -x -d "Color" -a '$__fish_colors'
|
||||
complete -c set_color -s b -l background -x -a '$__fish_colors'
|
||||
|
||||
complete -c set_color -s o -l bold -a 'Make font bold'
|
||||
|
|
7
init/completions/type.fish
Normal file
7
init/completions/type.fish
Normal file
|
@ -0,0 +1,7 @@
|
|||
|
||||
complete -c type -s h -l help -d "Print this message"
|
||||
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"
|
|
@ -582,7 +582,7 @@ echo
|
|||
echo \tWith no options, indicate how each name would be interpreted if \n\tused as a command name.
|
||||
echo
|
||||
echo \t$bullet (__bold -h) or (__bold --help) print this message
|
||||
echo \t$bullet (__bold -a) or (__bold --all) print all of possible definitions of the specified \n\t\ \ names
|
||||
echo \t$bullet (__bold -a) or (__bold --all) print all possible definitions of the specified \n\t\ \ names
|
||||
echo \t$bullet (__bold -f) or (__bold --no-functions) supresses function and builtin lookup
|
||||
echo \t$bullet (__bold -t) or (__bold --type) print a string which is one of alias, keyword, \n\t\ \ function, builtin, or file if name is an alias, shell \n\t\ \ reserved word, function, builtin, or disk file, respectively
|
||||
echo \t$bullet (__bold -p) or (__bold --path) either return the name of the disk file that would \n\t\ \ be executed if name were specified as a command name, or nothing \n\t\ \ if ‘‘type -t name’’ would not return file
|
||||
|
|
Loading…
Reference in a new issue