mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2024-12-18 10:22:00 +00:00
fix(mise): update environment when loading the plugin (#12294)
This commit is contained in:
parent
0fed36688f
commit
d157fc60c9
1 changed files with 3 additions and 0 deletions
|
@ -11,6 +11,9 @@ fi
|
|||
# Load mise hooks
|
||||
eval "$($__mise activate zsh)"
|
||||
|
||||
# Hook mise into current environment
|
||||
eval "$($__mise hook-env -s zsh)"
|
||||
|
||||
# If the completion file doesn't exist yet, we need to autoload it and
|
||||
# bind it to `mise`. Otherwise, compinit will have already done that.
|
||||
if [[ ! -f "$ZSH_CACHE_DIR/completions/_$__mise" ]]; then
|
||||
|
|
Loading…
Reference in a new issue