Replies: 2 comments 1 reply
-
|
Been hitting this exact issue as well. After _fnox_hook:2: no such file or directory: /Users/sh/.local/share/mise/installs/fnox/1.5.2/fnox |
Beta Was this translation helpful? Give feedback.
0 replies
-
|
If you eval it with the "latest" path, then that path will be baked into the function Like so: eval "$(~/.local/share/mise/installs/fnox/latest/fnox activate zsh)" |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
fnox deactivateand sourcefnox activateagain, but you can't because deactivate isn't built-in to the function and instead calls the nonexistent binary to generate the commands to deactivate.unset -f fnoxand re-source. Alternatively, close your session and lose state, which can be annoying if fetching the secrets back requires, say, logging back in to your secrets backend.This is a conflation of multiple behaviors but results in an annoying situation that I believe could be made better by two changes:
fnoxfunction call the binary from~/.local/share/mise/installs/fnox/latest/fnoxinstead of hardcoding the path of the binary to the version that was present at the time of sourcing activate.fnoxfunction so it works without the binary present. (Also helps if you actually uninstalled fnox before deactivation.)Beta Was this translation helpful? Give feedback.
All reactions