fix(mise): update environment when loading the plugin (#12294)

master
Ben Woodward 2 years ago committed by GitHub
parent 0fed36688f
commit d157fc60c9
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  1. 3
      plugins/mise/mise.plugin.zsh

@ -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…
Cancel
Save