fixed python_icon

This commit is contained in:
Bryan Ramos 2024-01-25 19:03:47 -05:00
parent 63dfa2a818
commit e885a5427e
Signed by: bryan
GPG key ID: 6ABDCD144D6643C8

View file

@ -9,12 +9,10 @@ function check_venv() {
if [ -n "''${IN_NIX_SHELL}" ]; then if [ -n "''${IN_NIX_SHELL}" ]; then
if [ -n "$VIRTUAL_ENV" ]; then if [ -n "$VIRTUAL_ENV" ]; then
python_icon="\[\033[01;33m\] \[\033[00m\]" python_icon="\[\033[01;33m\] \[\033[00m\]"
else
unset python_icon
fi fi
nix_icon="\[\033[01;34m\] \[\033[00m\]" nix_icon="\[\033[01;34m\] \[\033[00m\]"
else else
unset nix_icon unset nix_icon python_icon
fi fi
} }