3 ms·
This is nice, but I also like the way fish (http://fishshell.com/ http://fishshell.com/) handles auto-completion: When I type `ssh<tab>`, I get a list of hosts
by _jomo 12y ago
This is nice, but I also like the way fish (http://fishshell.com/ http://fishshell.com/) handles auto-completion:
When I type `ssh<tab>`, I get a list of hosts from my ~/.ssh/config plus hosts I have previously used.
I can actually use `ssh hn<tab>` and it gets auto-completed to `ssh hostname` because "hostname" is configured in my ssh config. The same works for `ssh user@<tab>`
- jamiesonbecker 12y agofwiw, bash autocompletion does this automagically, too, but you might need to enable it. .ssh/config is definitely the canonical place to keep this stuff, but I like @haosdent's ranking concept. some of my boxes I rarely log into, and others I log into all the time.
- philippnagel 12y agoGeneral thumbs up for Fish!