Fix horrible poetry prompt.
This commit is contained in:
parent
85b874b2ab
commit
cdb8c3e489
2 changed files with 8 additions and 1 deletions
|
@ -31,3 +31,10 @@ then
|
||||||
alias sudo='sudo -A'
|
alias sudo='sudo -A'
|
||||||
fi
|
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
|
||||||
|
|
2
private
2
private
|
@ -1 +1 @@
|
||||||
Subproject commit 051de63966223f86fb0859d28fbb3ef093bbb4c9
|
Subproject commit 0e34233ad56224b2096022a2c8b0f4b4bd87d2d0
|
Loading…
Reference in a new issue