Hacker News new | ask | show | jobs
by gmisra 4719 days ago
And the parent's point is that "why doesn't everybody use all keyboard shortcuts all the time" is a HN refrain that is tired and smug, and yet still the top-voted comment here.
2 comments

And the answer is because ssh is entirely keyboard driven. There is no good reason to clumsily mouse through a drop-down menu, then move your hand back to your keyboard, when you can type "zz<enter>" in an open terminal and you're ready to go!
Cool, how do you do that with a dynamically changing list of hosts that you're getting from somewhere else? I would totally use this with a team dropbox and a .shuttle.json file full of all of our systems.

Or, put another way: think beyond your own use case before posting, yeah?

Crontab a job to generate the aliases and write them to a file, source the file from .profile. Alternately, store the list in an alias-defining file instead of json. Source directly from the dropbox.

No installation required.

Tab completion?
Normally, sure. But we're talking about opening a remote keyboard-interactive ssh session in this specific case.

Your hands are going to the keyboard.

We're discussing whether or not it's worth screwing around with the mouse beforehand.