Skip to content
This repository was archived by the owner on Nov 24, 2024. It is now read-only.

Commit 83b78bd

Browse files
authored
Update pyenv.plugin.zsh
1 parent b991d32 commit 83b78bd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pyenv.plugin.zsh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ else
1212
fi
1313

1414
if [[ $FOUND_PYENV -ne 1 ]]; then
15-
pyenvdirs=("$HOME/.pyenv" "/usr/local/pyenv" "/opt/pyenv" "/usr/local/opt/pyenv")
15+
pyenvdirs=("$HOME/.pyenv" "$XDG_DATA_HOME/pyenv" "/usr/local/pyenv" "/opt/pyenv" "/usr/local/opt/pyenv")
1616
for dir in $pyenvdirs; do
1717
if [[ -d "$dir/bin" ]]; then
1818
export PATH="$dir/bin:$PATH"

0 commit comments

Comments
 (0)