-
-
Notifications
You must be signed in to change notification settings - Fork 155
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
zsh host autocompletion #180
Comments
Here's an initial version of a plugin which adds zsh completion for options and for SSH hosts: https://gist.github.com/ocean90/3e5da3c526c66144eab3a78b0101b2ec Copy the file into
To do: Add support for the commands (info, config, sockets) |
great one, will test it, thanks @ocean90. |
I just added
to my zshrc and it works as is for ssh hosts. |
Another version: Falkor ZSH completion file |
@Falkor Thanks, works like a charm! Could you please elaborate on the host completion part? Where do I have to add the line which @cnf has posted? I'm confused by the closing bracket there. Any help would be appreciated. Edit: To get host completion working with you file I had to change |
If you remove the |
@Falkor The question is, what is this wrapper command you're talking about? :) I already have |
Strangely for me simply having the wrapper worked fine for host completion when I first started messing with assh, probably when the config was simpler. Now though I get no host completion at all. |
@ocean90 I updated my completion file to include host completion upon |
@Falkor Thanks, but I want to have it for the regular
|
Excellent, I'll update my own accordingly |
As in topic, is this actually working for someone? We're on oh-my-zsh here, thanks for info.
The text was updated successfully, but these errors were encountered: