Wow, I missed the completion bits also! I like this better than the cwm menu or dmenu, so I'll be using this from now on instead of the window manager.
Here's my cool 3 liners to nab all them hosts ;-) set -A complete_ssh $( (awk '!/\*/ && /^Host /{print $2}' ~/.ssh/config; awk '{sub(",.*$","",$1);print $1}' ~/.ssh/known_hosts)|sort -u) Thanks! Penned by Ingo Schwarze on 20170710 8:22.48, we have: | Hi, | | Bryan Steele wrote on Mon, Jul 10, 2017 at 08:21:19AM -0400: | | > Instead of relying on the window manager, why not add it to your | > shell? | > | > https://deftly.net/posts/2017-05-01-openbsd-ksh-tab-complete.html | > | > set -A complete_ssh $(awk '!/\*/ && /^Host /{print $2}' ~/.ssh/config) | > | > I'm sure someone can come up with a cool one liner for parsing | > known_hosts files. | | YIKES, what a horrible idea. | | I think the support for complete_* arrays ought to be summarily | deleted from emacs.c. It is excessive complexity and creeping | featurism and has no place in a program as sensitve as the shell. | | Yours, | Ingo -- Todd T. Fries . http://todd.fries.net/pgp.txt . @unix2mars . github:toddfries