[ZSH] Fix path ordering
This commit is contained in:
1 parent
7afa58f3ec
commit
4c5f988d92
1 file changed
+1
-1
+1
-1
@@ -67,7 +67,7 @@ fi
|
||||
typeset -U path PATH
|
||||
[[ -z "${VIRTUAL_ENV:-}" ]] && unset VIRTUAL_ENV
|
||||
if [[ -n "$VIRTUAL_ENV" && -f "$VIRTUAL_ENV/bin/activate" ]]; then
|
||||
if [[ ":$PATH:" != *":$VIRTUAL_ENV/bin:"* ]]; then
|
||||
if [[ ${PATH%%:*} != "$VIRTUAL_ENV/bin" ]]; then
|
||||
source "$VIRTUAL_ENV/bin/activate"
|
||||
fi
|
||||
fi
|
||||
Reference in new issue
Block a user