[zsh] Unquote the Python Path in init_env_python
This was causing the for to loop through the characters of the string rather than the directories in $pythonroot
This commit is contained in:
parent
fb144f1f3f
commit
a4703c3509
1 changed files with 1 additions and 1 deletions
|
@ -5,7 +5,7 @@ autoload -Uz prepend_to_path
|
||||||
init_env_python() {
|
init_env_python() {
|
||||||
local pythonRoot="$HOME/Library/Python"
|
local pythonRoot="$HOME/Library/Python"
|
||||||
if [[ -d "$pythonRoot" ]]; then
|
if [[ -d "$pythonRoot" ]]; then
|
||||||
for f in "$pythonRoot/*"; do
|
for f in $pythonRoot/*; do
|
||||||
prepend_to_path "$f/bin"
|
prepend_to_path "$f/bin"
|
||||||
done
|
done
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue