-
-
Notifications
You must be signed in to change notification settings - Fork 25.7k
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
Recent update breaks autocomplete for tmux plugin aliases #12282
Comments
@matthew-nm I've issued a PR to fix this and am just waiting for it to be reviewed and merged. Feel free to test and report if this doesn't give you everything you had before. |
@detroyejr Excellent! I've tested and it works great. The results are shown slightly differently between the alias and the full command, but I don't think it would bother anyone.
For my own curiosity, why is something like the following not used?
I did a quick test just now and it seems to work OK without having to reimplement any of the completions. And I imagine it would stand up to any completion updates in the future. |
Describe the bug
The latest
_build_tmux_alias
causes the tmuxta
alias to be defined as the following function,instead of the previous command,
which makes autocompletion of session names not work. When using TAB to autocomplete, instead of providing the list of sessions to choose, it provides the list of files/folders in the current directory, presumably because it doesn't know what command it's trying to autocomplete for.
Steps to reproduce
omz update
ta
TAB autocompletion as beforeExpected behavior
Ideally, pressing TAB after entering
ta
would provide a list of current sessions, as before.Screenshots and recordings
No response
OS / Linux distribution
macOS
Zsh version
5.9
Terminal emulator
iTerm2
If using WSL on Windows, which version of WSL
None
Additional context
No response
The text was updated successfully, but these errors were encountered: