From 232df345a5a15da0dc1e750a252394419b08cb29 Mon Sep 17 00:00:00 2001 From: frosty Date: Wed, 29 May 2024 06:33:07 -0400 Subject: [PATCH] fix spacing and color escapes --- bash/.bashrc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bash/.bashrc b/bash/.bashrc index f340ca0..11ff572 100644 --- a/bash/.bashrc +++ b/bash/.bashrc @@ -20,11 +20,11 @@ git_branch() { else color="32" # Green for a clean state fi - echo -e "\\e[0;${color}m${branch}\\e[0m" + echo -e "\\e[0;${color}m${branch} " fi } -PS1="\[\e[1;32m\]\u@\h \[\e[1;34m\]\w \$(git_branch) \[\e[0m\]\$ " +PS1="\[\e[1;32m\]\u@\h \[\e[1;34m\]\w \$(git_branch)\[\e[0m\]\$ " # shellcheck disable=SC1091 [ -f "$XDG_CONFIG_HOME/shell/shortcuts" ] && . "$XDG_CONFIG_HOME/shell/shortcuts"