mirror of
https://github.com/fish-shell/fish-shell
synced 2025-01-14 14:03:58 +00:00
set's color completions: remove Color description.
On `set fish_color_cwd <TAB>`, a bunch of named colors are shown in the pager. Each and every one has a description of "Color". These are all very obviously colors, and none are not colors, the description does not tell us anything specific about the item. Descriptions in situations like this are actually a hinderance because of the way they cause less to fit into the pager. Remove it
This commit is contained in:
parent
de32665939
commit
fb74ccb1f2
1 changed files with 1 additions and 1 deletions
|
@ -90,7 +90,7 @@ complete -c set -n '__fish_seen_argument -s e -l erase; and __fish_seen_argument
|
|||
complete -c set -n '__fish_seen_argument -s e -l erase; and __fish_seen_argument -s l -l local' -f -a "(set -l | string match -rv '^_|^fish_' | string replace ' ' \t'Local Variable: ')"
|
||||
|
||||
# Color completions
|
||||
complete -c set -n '__fish_set_is_color' -x -a '(set_color --print-colors)' -d Color
|
||||
complete -c set -n '__fish_set_is_color' -x -a '(set_color --print-colors)'
|
||||
complete -c set -n '__fish_set_is_color' -s b -l background -x -a '(set_color --print-colors)' -d "Change background color"
|
||||
complete -c set -n '__fish_set_is_color' -s o -l bold -d 'Make font bold'
|
||||
|
||||
|
|
Loading…
Reference in a new issue