mirror of
https://github.com/fish-shell/fish-shell.git
synced 2026-06-08 02:31:18 -03: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:
@@ -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'
|
||||
|
||||
|
||||
Reference in New Issue
Block a user