-
Notifications
You must be signed in to change notification settings - Fork 146
New issue
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
Package list caching in zsh autocompletion does not work #459
Comments
pklip
added a commit
to pklip/catkin_tools
that referenced
this issue
May 30, 2017
pklip
added a commit
to pklip/catkin_tools
that referenced
this issue
May 30, 2017
wjwwood
pushed a commit
that referenced
this issue
Jul 18, 2017
wjwwood
added a commit
that referenced
this issue
Jul 18, 2017
The issue was fixed in #475. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
System Info
Issue
Autocompletion in zsh with _catkin does not actually use the caching mechanism to cache the package list, although the code intends to do so. Only the environment variable _workspace_packages is set once in the current shell and then never saved to the cache or updated anymore.
Expected Behavior
On autocompletion (TAB) the current package list should be saved to [catkin_workspace]/.catkin_tools/cache/workspace_packages and be retrieved on further completions if the workspace did not change and the variable _workspace_packages has not already been set
Actual Behavior
The cache is never used.
Steps to Reproduce the Issue
Copy completion/_catkin to /usr/local/share/zsh/site-functions (or anywhere in your $fpath) and make sure compinit is called in your .zshrc (preferrably at the very end after any plugins).
The text was updated successfully, but these errors were encountered: