From cdb8c3e489c6be9cb556f62eab5808657121721c Mon Sep 17 00:00:00 2001 From: Alex Manning Date: Mon, 19 Dec 2022 14:28:48 +0000 Subject: [PATCH] Fix horrible poetry prompt. --- home/.bashrc | 7 +++++++ private | 2 +- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/home/.bashrc b/home/.bashrc index f061f7e..1be246f 100644 --- a/home/.bashrc +++ b/home/.bashrc @@ -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 diff --git a/private b/private index 051de63..0e34233 160000 --- a/private +++ b/private @@ -1 +1 @@ -Subproject commit 051de63966223f86fb0859d28fbb3ef093bbb4c9 +Subproject commit 0e34233ad56224b2096022a2c8b0f4b4bd87d2d0