diff options
-rw-r--r-- | cli/.config/fish/conf.d/prompt.fish | 5 | ||||
-rw-r--r-- | 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 |