I am not sure if I am right here or if I should create an issue in oh-my-zsh or if I just have a thought-process-error ;-).
I use zsh with oh-my-zsh and zsh-autosuggestions as oh-my-zsh plugin
Premise
Host test-1
Hostname test-1.stuff.com
User aUser
IdentityFile ~/.ssh/id_rsa
And in your .ssh/known_hosts file is an entry for
test-x.otherstuff.com
Describe the bug
When I type
ssh test
then press TAB I do not get all suggestion for that, but he prompt will be extended to
ssh test.otherstuff.com
The cursor is right at the first .
When I then press TAB again the suggestion include everything that is fitting kind of the pattern
test*.otherstuff.com
So all the configs in my ssh configs are basically skipped from the suggestions
To Reproduce
The "Premise" and the "Description" should make the reproduction possible
Expected behavior
If it is unclear it should not auto-complete in the prompt but show the list right away
Desktop
OS + distribution: Mac OS X 10.15.5 (Build 19F101)
Disclaimer
I am not sure if I am right here or if I should create an issue in oh-my-zsh or if I just have a thought-process-error ;-). I use zsh with oh-my-zsh and zsh-autosuggestions as oh-my-zsh plugin
Premise
And in your .ssh/known_hosts file is an entry for
Describe the bug
When I type
ssh test
then press TAB I do not get all suggestion for that, but he prompt will be extended to ssh test.otherstuff.com The cursor is right at the first.
When I then press TAB again the suggestion include everything that is fitting kind of the patterntest*.otherstuff.com
So all the configs in my ssh configs are basically skipped from the suggestionsTo Reproduce
The "Premise" and the "Description" should make the reproduction possible
Expected behavior
If it is unclear it should not auto-complete in the prompt but show the list right away
Desktop