From e885a5427e76ba2af40c74a7d35195f07a0e68cf Mon Sep 17 00:00:00 2001 From: Bryan Ramos Date: Thu, 25 Jan 2024 19:03:47 -0500 Subject: [PATCH] fixed python_icon --- homeConfig/modules/bash/config/prompt.nix | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/homeConfig/modules/bash/config/prompt.nix b/homeConfig/modules/bash/config/prompt.nix index 1b23670..d0dc805 100644 --- a/homeConfig/modules/bash/config/prompt.nix +++ b/homeConfig/modules/bash/config/prompt.nix @@ -9,12 +9,10 @@ function check_venv() { if [ -n "''${IN_NIX_SHELL}" ]; then if [ -n "$VIRTUAL_ENV" ]; then python_icon="\[\033[01;33m\] \[\033[00m\]" - else - unset python_icon fi nix_icon="\[\033[01;34m\] \[\033[00m\]" else - unset nix_icon + unset nix_icon python_icon fi }