carapace-bin
carapace-bin copied to clipboard
ssh completer
Command
ssh
Description
OpenSSH remote login client
Homepage
https://www.openssh.com/
Documentation
https://man.openbsd.org/ssh
Repository
OpenSSH is the premier connectivity tool for remote login with the SSH protocol.
Complexity
M
Anything else?
No response
Tasks
finalize ssh completer
- [ ] bindings
- [ ] options
- [x] host definitions
Polar
Hope it's fine if I add this here, but all completion for ssh hosts should (imo) include host definitions from the configuration (.ssh/config
) excluding ones containing wildcards.
Example with ripgrep:
rg --pcre2 -o -N '(?<=Host (?!.*\*))(.*)$' .ssh/config
Agree on that, just didn't get around to parsing the config yet.