Bash : Use fg_2 instead.

This commit is contained in:
Dmitry Voronin 2024-04-02 22:51:23 +03:00
parent 3d8eebff55
commit cea736df63
2 changed files with 3 additions and 3 deletions

View file

@ -126,7 +126,7 @@
transparent = "ffffff00";
accent_rgb = "184;187;38";
fg_1_rgb = "251;241;199";
fg_2_rgb = "213;196;161";
negative_rgb = "204;36;29";
neutral_1_rgb = "69;133;136";
positive_1_rgb = "135;175;135";

View file

@ -37,7 +37,7 @@ function __prompt_command() {
fi
# Add time.
PS1+="$(__prompt_color ${fg_1_rgb})"
PS1+="$(__prompt_color ${fg_2_rgb})"
PS1+="$(date +%H:%M) "
# Set root red.
@ -79,7 +79,7 @@ function __prompt_command() {
# Command on new line.
PS1+="\n"
PS1+="$(__prompt_color ${fg_1_rgb})"
PS1+="$(__prompt_color ${fg_2_rgb})"
# Show nix shell name.
if [ -n "${NIX_SHELL}" ]; then