From ec6106c73efa8248512947982714708348b997f7 Mon Sep 17 00:00:00 2001 From: Ethan Paul Date: Fri, 5 Nov 2021 23:46:46 -0400 Subject: [PATCH] Update ps1 to fix path formatting --- resources/global.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/resources/global.sh b/resources/global.sh index 76ffc60..4450200 100644 --- a/resources/global.sh +++ b/resources/global.sh @@ -2,7 +2,7 @@ function _parse_git_branch() { git branch 2> /dev/null | sed -e '/^[^*]/d' -e 's/* \(.*\)/ (\1)/' } -export PS1="\[\e[0;97m\]\[\e[37m\e[1m\]\u\[\e[1;94m\]@\[\e[94m\]\H\[\e[0;33m\]\$(_parse_git_branch) \[\e[37m\]\w\[\e[33m\] \[\e[0;97m\]$\[\e[0m\] " +export PS1="\[\e[0;97m\]\[\e[37m\e[1m\]\u\[\e[1;94m\]@\[\e[94m\]\H\[\e[37m\]:\w\[\e[33m\]\[\e[0;33m\]\$(_parse_git_branch) \[\e[37m\]\[\e[0;97m\]$\[\e[0m\] " export rc=/home/$USERNAME/.bashrc export VIRTUALENV_DIR=/home/$USERNAME/.venvs