mirror of
https://github.com/itme-brain/nixos.git
synced 2026-03-24 00:29:43 -04:00
fixed python_icon
This commit is contained in:
parent
63dfa2a818
commit
e885a5427e
1 changed files with 1 additions and 3 deletions
|
|
@ -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
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue