mirror of
https://github.com/fish-shell/fish-shell
synced 2024-12-26 04:43:10 +00:00
Also allow bold, underline and printing colors in linux kernel VTs
bold works, printing colors doesn't change anything and underline doesn't _break_.
This commit is contained in:
parent
a66d44054c
commit
40df11b162
1 changed files with 1 additions and 1 deletions
|
@ -297,7 +297,7 @@ function __fish_config_interactive -d "Initializations that should be performed
|
|||
# Don't allow setting color other than what linux offers (see #2001)
|
||||
functions -e set_color
|
||||
function set_color
|
||||
set -l term_colors black red green yellow blue magenta cyan white normal
|
||||
set -l term_colors black red green yellow blue magenta cyan white normal --bold -o -c --print-colors -u --underline
|
||||
for a in $argv
|
||||
if not contains -- $a $term_colors
|
||||
echo "Color not valid in TERM = linux: $a"
|
||||
|
|
Loading…
Reference in a new issue