We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
eval
znap eval caches the results. For non-repo evals, one needs to change the <command> name to invalidate the cache.
znap eval
<command>
I want to be able to use the same <command> name.
Every Zsh-Snap user.
Zsh-Snap
For example when installing auto-completions for pipx I had to make a few attempts to get it right.
pipx
append_path $HOME/.local/bin znap eval pipx-completions 'register-python-argcomplete pipx'
But every time I had to change the <command> in znap eval to test it, otherwise the old cached <command> would be sourced.
When I run znap clean I would like to have option to remove all or individual cached <command>s from ${XDG_CACHE_HOME:-$HOME/.cache}/zsh-snap/eval
znap clean
${XDG_CACHE_HOME:-$HOME/.cache}/zsh-snap/eval
Thanks a ton for Zsh-Snap! It's the prime reason for having a very fast startup time with lots of features.
The text was updated successfully, but these errors were encountered:
For non-repo evals, one needs to change the <command> name to invalidate the cache.
Or you can just delete the cache manually: rm ${XDG_CACHE_HOME:-$HOME/.cache}/zsh-snap/eval/<command>.zsh
rm ${XDG_CACHE_HOME:-$HOME/.cache}/zsh-snap/eval/<command>.zsh
Sorry, something went wrong.
Won't fix. See #261.
No branches or pull requests
What do you want?
znap eval
caches the results. For non-repoeval
s, one needs to change the<command>
name to invalidate the cache.Why do you want this?
I want to be able to use the same
<command>
name.Who else would benefit from this?
Every
Zsh-Snap
user.How should it work?
For example when installing auto-completions for
pipx
I had to make a few attempts to get it right.But every time I had to change the
<command>
inznap eval
to test it, otherwise the old cached<command>
would be sourced.When I run
znap clean
I would like to have option to remove all or individual cached<command>
s from${XDG_CACHE_HOME:-$HOME/.cache}/zsh-snap/eval
Thanks a ton for Zsh-Snap! It's the prime reason for having a very fast startup time with lots of features.
The text was updated successfully, but these errors were encountered: