david-caro / wm-ssh

SSH wrapper that tries to resolve wikimedia hostnames from different sources
GNU General Public License v3.0
0 stars 1 forks source link

Add zsh completion script #4

Open blancadesal opened 2 years ago

blancadesal commented 2 years ago

This is not quite working for me as I use zsh as my default editor. What I'm doing right now is if I'm looking for a host that is likely to be somewhere in my known_hosts files, I use regular ssh with its built-in completion. Otherwise, I use wm-ssh with _know_hosts deleted from the bash completion script.

I'm looking into creating a zsh-specific completion script.

david-caro commented 2 years ago

It seems to be way simpler than expected xd, though I might be doing something wrong, can you test the PR and let me know if it works for you?