Fix horrible poetry prompt.

This commit is contained in:
Alex Manning 2022-12-19 14:28:48 +00:00
parent 85b874b2ab
commit cdb8c3e489
Signed by: alex
GPG key ID: 1E325A228EB28358
2 changed files with 8 additions and 1 deletions

View file

@ -31,3 +31,10 @@ then
alias sudo='sudo -A'
fi
# Fix the horrible shell that poetry gives you.
if [ -n "$POETRY_ACTIVE" ]
then
export VIRTUAL_ENV_DISABLE_PROMPT=1
cwd=$(pwd)
export PS1="\[\033[48;5;27m\]${cwd##*/}\[$(tput sgr0)\] 🖋️📜 "
fi

@ -1 +1 @@
Subproject commit 051de63966223f86fb0859d28fbb3ef093bbb4c9
Subproject commit 0e34233ad56224b2096022a2c8b0f4b4bd87d2d0