From 40df11b16235664847f8d72f31bef01aff6615e3 Mon Sep 17 00:00:00 2001 From: Fabian Homborg Date: Thu, 10 Sep 2015 12:25:57 +0200 Subject: [PATCH] Also allow bold, underline and printing colors in linux kernel VTs bold works, printing colors doesn't change anything and underline doesn't _break_. --- share/functions/__fish_config_interactive.fish | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/share/functions/__fish_config_interactive.fish b/share/functions/__fish_config_interactive.fish index 48161d911..2bd958c92 100644 --- a/share/functions/__fish_config_interactive.fish +++ b/share/functions/__fish_config_interactive.fish @@ -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"