-
-
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 fails on SSH? #1337
Comments
blueyed
added a commit
to blueyed/oh-my-zsh
that referenced
this issue
Dec 17, 2012
The manual configuration of ':completion:*:hosts' causes some problems (e.g. issue ohmyzsh#1337), and misses useful information (especially from ~/.ssh/known_hosts; issue ohmyzsh#690 and issue ohmyzsh#1009). The best option appears to be using zsh's default configuration for ':completion:*:hosts'.
This is caused by oh-my-zsh's ':completion:*:hosts' config (lib/completion.zsh). The entry is coming probably from ~/.ssh/known_hosts and interpreted in a wrong way. The easiest fix to this appears to be using zsh's default completion for hosts. |
blueyed
added a commit
to blueyed/oh-my-zsh
that referenced
this issue
Jan 10, 2013
The manual configuration of ':completion:*:hosts' causes some problems (e.g. issue ohmyzsh#1337), and misses useful information (especially from ~/.ssh/known_hosts; issue ohmyzsh#690 and issue ohmyzsh#1009). The best option appears to be using zsh's default configuration for ':completion:*:hosts'. Conflicts: lib/completion.zsh
blueyed
added a commit
to blueyed/oh-my-zsh
that referenced
this issue
Mar 13, 2014
The manual configuration of ':completion:*:hosts' causes some problems (e.g. issue ohmyzsh#1337), and misses useful information (especially from ~/.ssh/known_hosts; issue ohmyzsh#690 and issue ohmyzsh#1009). The best option appears to be using zsh's default configuration for ':completion:*:hosts'. While rebasing this for a new pull request (ohmyzsh#1498 got closed by accident and then requests to re-open it got ignored), it also drops the `users off` setting: completion of user names can be useful, and the commit adding it (c4434d2) does not state why.
apoh
pushed a commit
to apoh/oh-my-zsh
that referenced
this issue
Apr 8, 2014
The manual configuration of ':completion:*:hosts' causes some problems (e.g. issue ohmyzsh#1337), and misses useful information (especially from ~/.ssh/known_hosts; issue ohmyzsh#690 and issue ohmyzsh#1009). The best option appears to be using zsh's default configuration for ':completion:*:hosts'. While rebasing this for a new pull request (ohmyzsh#1498 got closed by accident and then requests to re-open it got ignored), it also drops the `users off` setting: completion of user names can be useful, and the commit adding it (c4434d2) does not state why.
neiljdo
pushed a commit
to neiljdo/oh-my-zsh
that referenced
this issue
Apr 11, 2014
The manual configuration of ':completion:*:hosts' causes some problems (e.g. issue ohmyzsh#1337), and misses useful information (especially from ~/.ssh/known_hosts; issue ohmyzsh#690 and issue ohmyzsh#1009). The best option appears to be using zsh's default configuration for ':completion:*:hosts'. While rebasing this for a new pull request (ohmyzsh#1498 got closed by accident and then requests to re-open it got ignored), it also drops the `users off` setting: completion of user names can be useful, and the commit adding it (c4434d2) does not state why.
sapphire-arches
pushed a commit
to sapphire-arches/oh-my-zsh
that referenced
this issue
May 6, 2014
The manual configuration of ':completion:*:hosts' causes some problems (e.g. issue ohmyzsh#1337), and misses useful information (especially from ~/.ssh/known_hosts; issue ohmyzsh#690 and issue ohmyzsh#1009). The best option appears to be using zsh's default configuration for ':completion:*:hosts'. While rebasing this for a new pull request (ohmyzsh#1498 got closed by accident and then requests to re-open it got ignored), it also drops the `users off` setting: completion of user names can be useful, and the commit adding it (c4434d2) does not state why.
aaccurso
pushed a commit
to aaccurso/oh-my-zsh
that referenced
this issue
May 17, 2014
The manual configuration of ':completion:*:hosts' causes some problems (e.g. issue ohmyzsh#1337), and misses useful information (especially from ~/.ssh/known_hosts; issue ohmyzsh#690 and issue ohmyzsh#1009). The best option appears to be using zsh's default configuration for ':completion:*:hosts'. While rebasing this for a new pull request (ohmyzsh#1498 got closed by accident and then requests to re-open it got ignored), it also drops the `users off` setting: completion of user names can be useful, and the commit adding it (c4434d2) does not state why.
arowla
pushed a commit
to arowla/oh-my-zsh
that referenced
this issue
May 28, 2014
The manual configuration of ':completion:*:hosts' causes some problems (e.g. issue ohmyzsh#1337), and misses useful information (especially from ~/.ssh/known_hosts; issue ohmyzsh#690 and issue ohmyzsh#1009). The best option appears to be using zsh's default configuration for ':completion:*:hosts'. While rebasing this for a new pull request (ohmyzsh#1498 got closed by accident and then requests to re-open it got ignored), it also drops the `users off` setting: completion of user names can be useful, and the commit adding it (c4434d2) does not state why.
benjaoming
pushed a commit
to benjaoming/oh-my-zsh
that referenced
this issue
Nov 28, 2014
The manual configuration of ':completion:*:hosts' causes some problems (e.g. issue ohmyzsh#1337), and misses useful information (especially from ~/.ssh/known_hosts; issue ohmyzsh#690 and issue ohmyzsh#1009). The best option appears to be using zsh's default configuration for ':completion:*:hosts'. While rebasing this for a new pull request (ohmyzsh#1498 got closed by accident and then requests to re-open it got ignored), it also drops the `users off` setting: completion of user names can be useful, and the commit adding it (c4434d2) does not state why.
kenton
pushed a commit
to kenton/oh-my-zsh
that referenced
this issue
Jan 9, 2015
The manual configuration of ':completion:*:hosts' causes some problems (e.g. issue ohmyzsh#1337), and misses useful information (especially from ~/.ssh/known_hosts; issue ohmyzsh#690 and issue ohmyzsh#1009). The best option appears to be using zsh's default configuration for ':completion:*:hosts'. While rebasing this for a new pull request (ohmyzsh#1498 got closed by accident and then requests to re-open it got ignored), it also drops the `users off` setting: completion of user names can be useful, and the commit adding it (c4434d2) does not state why.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hey guys, usually when you write ssh user@+tab so you can see all the hosts, it works fine, but unfortunatly, this are the choices which gives me:
[11.11.11.11]:2222 <- Host + port.
Why is it giving me like this? with a bracket and ? and :port as if it's telnet?
Any fix for this?
Regards
The text was updated successfully, but these errors were encountered: