-
-
Notifications
You must be signed in to change notification settings - Fork 25.6k
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
Auto-complete broken for SSH hostname tab completions (_hosts_ #4891
Comments
I should point out, this doesn't actually happen on my personal laptop. Just my work laptop. |
It works on my Linux, but fails on my Mac:
|
I also get this all the time on both my work and personal machines (~Mac OS X 10.11.6). One is using iTerm2, the other is the regular Terminal.app. This is a very annoying issue that is so easily reproduced, I'm surprised it hasn't been fixed yet. |
it also happens on my Linux workstation when I try to autocomplete the path in NFS/DFS by using double-tab. |
This issue, compounded with the fact that ZSH array indexing starts at 1, has caused me to migrate back to BASH. It actually wasn't that hard to port the ZSH theme I made for ZSH back to BASH, and I'm working on my own completion now. It's not as good as ZSH completion was, but I'm just as productive now with BASH. Funny how that works out... So in a way, thank you for never solving this issue. |
Yeah this issue is probably one of the most annoying and distracting things with ZSH |
Maybe a part of the globbing issue is mentioned at the zsh-Readme "Incompatibilities between 5.0.8 and 5.3". |
This is still happening at the moment in latest OSX Ventura (zsh 5.8.1 (x86_64-apple-darwin22.0)) |
Hey there, I'm doing a bit of housekeeping on the project. Thanks for raising this issue—we always love a good edge case! 😄 However, it's not gathering much community interest (in that nobody has taken steps to solve+submit a PR), so I'm going to close it for now. Don't let this discourage you! We're all for hearing about the weird things. We can't commit to spending too much time tracking each weird thing down ourselves. |
_Edit: Sorry, I didn't search. I'm at work so I can't look through these at the moment, but I'm guessing my issue is somewhere in #4345 -- if so, I'll close this issue. If not, please link this issue to that tracker
SSH Auto-Complete Issue
I'm hoping somebody else has encountered this issue as well. Recently, I'm not sure exactly when, the SSH hostname completion broke in Oh My ZSH (for me at least). I've verified that this is related to Oh-My-ZSH and not anything else.
Here's how it seems to happen.
% ssh ftp.
At this point, the terminal freezes and I am unable to type.
The cursor keeps blinking. Everything else still responds.
Killed by signal in _hosts after 45s
At least until I open up a new terminal and go through this again.
Specs:
And my
.zshrc
:The text was updated successfully, but these errors were encountered: