diff --git a/fish/config.fish b/fish/config.fish index 4952b4a..8171078 100644 --- a/fish/config.fish +++ b/fish/config.fish @@ -96,7 +96,6 @@ if not set -q __universals_initialized set -U fish_color_history_current --bold set -U fish_color_host normal set -U fish_color_host_remote yellow - set -U fish_color_match --background=brblue set -U fish_color_normal normal set -U fish_color_operator blue set -U fish_color_param white diff --git a/fish/functions/fish_colors.fish b/fish/functions/fish_colors.fish index f499789..7744651 100644 --- a/fish/functions/fish_colors.fish +++ b/fish/functions/fish_colors.fish @@ -14,19 +14,19 @@ function fish_colors --description 'Print the fish color variables' set -l normal (set_color normal) set -l bold (set_color --bold) - echo '┌──────────────────────────────────┬────────────────────────────────────────┬────────────────────────┐' - echo '│ Variable │ Definition │ Example │' - echo '├──────────────────────────────────┼────────────────────────────────────────┼────────────────────────┤' + echo '┌──────────────────────────────────────┬────────────────────────────────────────┬────────────────────────┐' + echo '│ Variable │ Definition │ Example │' + echo '├──────────────────────────────────────┼────────────────────────────────────────┼────────────────────────┤' for variable in $color_list set -l value $$variable set -l color (set_color $value 2>/dev/null) or begin - printf "│ %-32s │ %s%-38s │ %-22s │\n" "$variable" (set_color --bold white --background=red) "$value" "The quick brown fox..." + printf "│ %-36s │ %s%-38s │ %-22s │\n" "$variable" (set_color --bold white --background=red) "$value" "The quick brown fox..." continue end - printf "│ $normal%-32s │ $bold%-38s$normal │ $color%-22s$normal │\n" "$variable" "$value" "The quick brown fox..." + printf "│ $normal%-36s │ $bold%-38s$normal │ $color%-22s$normal │\n" "$variable" "$value" "The quick brown fox..." end - echo '└──────────────────────────────────┴────────────────────────────────────────┴────────────────────────┘' + echo '└──────────────────────────────────────┴────────────────────────────────────────┴────────────────────────┘' end if contains -- '-g' $argv; or contains -- '--global' $argv