mirror of
https://github.com/fish-shell/fish-shell
synced 2025-01-13 13:39:02 +00:00
set_color: add completions for italics, dim and reverse
This commit is contained in:
parent
4bc220f349
commit
41a41b1591
1 changed files with 3 additions and 0 deletions
|
@ -1,6 +1,9 @@
|
||||||
complete -c set_color -x --description "Color" -a '(set_color --print-colors)'
|
complete -c set_color -x --description "Color" -a '(set_color --print-colors)'
|
||||||
complete -c set_color -s b -l background -x -a '(set_color --print-colors)' --description "Change background color"
|
complete -c set_color -s b -l background -x -a '(set_color --print-colors)' --description "Change background color"
|
||||||
complete -c set_color -s o -l bold --description 'Make font bold'
|
complete -c set_color -s o -l bold --description 'Make font bold'
|
||||||
|
complete -c set_color -s i -l italics --description 'Italicise'
|
||||||
|
complete -c set_color -s d -l dim --description 'Dim text'
|
||||||
|
complete -c set_color -s r -l reverse --description 'Reverse color text'
|
||||||
complete -c set_color -s u -l underline --description 'Underline text'
|
complete -c set_color -s u -l underline --description 'Underline text'
|
||||||
complete -c set_color -s h -l help --description 'Display help and exit'
|
complete -c set_color -s h -l help --description 'Display help and exit'
|
||||||
complete -c set_color -s c -l print-colors --description 'Print a list of all accepted color names'
|
complete -c set_color -s c -l print-colors --description 'Print a list of all accepted color names'
|
||||||
|
|
Loading…
Reference in a new issue