From 40d6b33373dff0003cfc8a186162c4df4afc9527 Mon Sep 17 00:00:00 2001 From: ddss-kalpa Date: Sun, 22 Feb 2026 19:44:39 +0100 Subject: [PATCH] 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. --- plugins/pyenv/pyenv.plugin.zsh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/pyenv/pyenv.plugin.zsh b/plugins/pyenv/pyenv.plugin.zsh index cd2a9e0ac..62b8cbc98 100644 --- a/plugins/pyenv/pyenv.plugin.zsh +++ b/plugins/pyenv/pyenv.plugin.zsh @@ -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