You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
What I'm not clear about is how to handle multiple installed versions of the same tool. With the postinstall hook as above, the last installed version would win out for the completion (can't be helped), but we wouldn't want to remove the completion as long as at least one version remains. 🤔
Also, I guess there's a can of worms when thinking about how to handle hooks included in multiple mise.toml -- which would trigger? (I don't know, but there's certainly a way it works for the existing hooks.)
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I've taken to installing shell completions through postinstall hooks, which goes something like this:
How to ever remove them again, though?
I'm thinking something like
What I'm not clear about is how to handle multiple installed versions of the same tool. With the
postinstall
hook as above, the last installed version would win out for the completion (can't be helped), but we wouldn't want to remove the completion as long as at least one version remains. 🤔Also, I guess there's a can of worms when thinking about how to handle hooks included in multiple
mise.toml
-- which would trigger? (I don't know, but there's certainly a way it works for the existing hooks.)Beta Was this translation helpful? Give feedback.
All reactions