Make some tweaks to profile and functions

This commit is contained in:
2021-02-15 10:24:57 -06:00
parent 16448e5d8d
commit 6c68f369ce
2 changed files with 14 additions and 16 deletions

View File

@@ -309,6 +309,10 @@ _ps1bash() {
elif [ "$USER" != "salt" ]; then
_prefix="${fg_bold}${fg_yellow}$USER${r}${fg_yellow}:${r}${_prefix}"
fi
# If we're in a PROJECT, post that envvar
if [ -n "$PROJECT" ]; then
_prefix="${_prefix}${fg_bold}${fg_blue}$PROJECT${r}${fg_blue}:${r}"
fi
# Color PWD
_prefix="${_prefix}${fg_blue}"
# Show the tilde instead of $HOME