mirror of
https://codeberg.org/frosty/dotfiles.git
synced 2024-09-19 03:37:10 -04:00
fix spacing and color escapes
This commit is contained in:
parent
68bb4189bd
commit
232df345a5
|
@ -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"
|
||||
|
|
Loading…
Reference in a new issue