diff options
author | Von Random <von@mechanus.net> | 2023-06-27 03:44:25 +0300 |
---|---|---|
committer | Von Random <von@mechanus.net> | 2023-06-27 03:44:25 +0300 |
commit | 58286251b924590bdab75abf8df78c7700ea900d (patch) | |
tree | 5351ff9044f40540b1cba147ff474f26522e3921 | |
parent | f31bbe94d6e7d5f5bef1c1966f6f20735fba9474 (diff) |
colors and syntaxnon-powerline
-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 |