mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2026-03-27 03:14:56 +01:00
fix(pyenv): use corect --path argument for init
Fixes "mkdir: Permission Denied" on Ubuntu 25.10 when calling "pyenv init - --no-rehash zsh". "pyenv init --path --no-rehash zsh" works correctly.
This commit is contained in:
parent
52d93f18d6
commit
40d6b33373
1 changed files with 1 additions and 1 deletions
|
|
@ -79,7 +79,7 @@ if [[ $FOUND_PYENV -eq 1 ]]; then
|
|||
fi
|
||||
|
||||
# Load pyenv
|
||||
eval "$(pyenv init - --no-rehash zsh)"
|
||||
eval "$(pyenv init --path --no-rehash zsh)"
|
||||
|
||||
# If pyenv-virtualenv exists, load it
|
||||
if [[ "$ZSH_PYENV_VIRTUALENV" != false && "$(pyenv commands)" =~ "virtualenv-init" ]]; then
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue