update env

This commit is contained in:
user@raspberrypi.local
2026-01-08 08:59:59 +00:00
parent 32d6a36984
commit 7715726db3
8 changed files with 16 additions and 190 deletions

View File

@@ -33,11 +33,11 @@ end
# Unset irrelevant variables.
deactivate nondestructive
set -gx VIRTUAL_ENV /home/user/raspi-iot-ryhmatyo/py
set -gx VIRTUAL_ENV /home/user/raspi-iot-ryhmatyo
set -gx _OLD_VIRTUAL_PATH $PATH
set -gx PATH "$VIRTUAL_ENV/"bin $PATH
set -gx VIRTUAL_ENV_PROMPT py
set -gx VIRTUAL_ENV_PROMPT raspi-iot-ryhmatyo
# Unset PYTHONHOME if set.
if set -q PYTHONHOME
@@ -57,7 +57,7 @@ if test -z "$VIRTUAL_ENV_DISABLE_PROMPT"
set -l old_status $status
# Output the venv prompt; color taken from the blue of the Python logo.
printf "%s(%s)%s " (set_color 4B8BBE) py (set_color normal)
printf "%s(%s)%s " (set_color 4B8BBE) raspi-iot-ryhmatyo (set_color normal)
# Restore the return status of the previous command.
echo "exit $old_status" | .