From 58286251b924590bdab75abf8df78c7700ea900d Mon Sep 17 00:00:00 2001 From: Von Random Date: Tue, 27 Jun 2023 03:44:25 +0300 Subject: colors and syntax --- cli/.config/fish/conf.d/prompt.fish | 5 +++-- cli/.config/fish/functions/fish_prompt.fish | 8 ++++---- 2 files changed, 7 insertions(+), 6 deletions(-) diff --git a/cli/.config/fish/conf.d/prompt.fish b/cli/.config/fish/conf.d/prompt.fish index 3d236a9..d2e06d8 100644 --- a/cli/.config/fish/conf.d/prompt.fish +++ b/cli/.config/fish/conf.d/prompt.fish @@ -6,8 +6,9 @@ else set git_sep \| end -set color_user green -set color_git_branch brwhite +set color_sep grey +set color_user green +set color_git_branch normal # git file status: unstaged staged untracked conflicts set color_git yellow green red purple diff --git a/cli/.config/fish/functions/fish_prompt.fish b/cli/.config/fish/functions/fish_prompt.fish index 5d2dd5b..2e22ab8 100644 --- a/cli/.config/fish/functions/fish_prompt.fish +++ b/cli/.config/fish/functions/fish_prompt.fish @@ -1,13 +1,13 @@ function fish_prompt set -g prompt_string set -g prev_color - prompt.add white \[ + prompt.add "$color_sep" \[ prompt.user prompt.add blue (prompt_pwd) prompt.git - prompt.add white \] - prompt.add normal $prompt_bang + prompt.add "$color_sep" \] + prompt.add normal "$prompt_bang" - echo $prompt_string + echo "$prompt_string" set -e prompt_string end -- cgit v1.2.3