update env
This commit is contained in:
@@ -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" | .
|
||||
|
||||
Reference in New Issue
Block a user