aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--doc_src/index.hdr.in4
-rw-r--r--share/functions/__fish_config_interactive.fish4
2 files changed, 8 insertions, 0 deletions
diff --git a/doc_src/index.hdr.in b/doc_src/index.hdr.in
index c06d39d8..24f70e31 100644
--- a/doc_src/index.hdr.in
+++ b/doc_src/index.hdr.in
@@ -900,6 +900,10 @@ The following variables are available to change the highlighting colors in fish:
- `fish_color_autosuggestion`, the color used for autosuggestions
+- `fish_color_user`, the color used to print the current username in some of fish default prompts
+
+- `fish_color_host`, the color used to print the current host system in some of fish default prompts
+
Additionally, the following variables are available to change the highlighting in the completion pager:
- `fish_pager_color_prefix`, the color of the prefix string, i.e. the string that is to be completed
diff --git a/share/functions/__fish_config_interactive.fish b/share/functions/__fish_config_interactive.fish
index bca410ac..f8b08de6 100644
--- a/share/functions/__fish_config_interactive.fish
+++ b/share/functions/__fish_config_interactive.fish
@@ -46,8 +46,12 @@ function __fish_config_interactive -d "Initializations that should be performed
set -q fish_color_error; or set -U fish_color_error red --bold
set -q fish_color_escape; or set -U fish_color_escape cyan
set -q fish_color_operator; or set -U fish_color_operator cyan
+ set -q fish_color_end; or set -U fish_color_end green
set -q fish_color_quote; or set -U fish_color_quote brown
set -q fish_color_autosuggestion; or set -U fish_color_autosuggestion 555 yellow
+ set -q fish_color_user; or set -U fish_color_user green
+
+ set -q fish_color_host; or set -U fish_color_host normal
set -q fish_color_valid_path; or set -U fish_color_valid_path --underline
set -q fish_color_cwd; or set -U fish_color_cwd green