On Mon, Jul 10, 2017 at 03:22:48PM +0200, Ingo Schwarze wrote: > 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
? This was a feature added last year by nicm@, not touching emacs.c at all.. http://marc.info/?l=openbsd-cvs&m=147300974112400&w=2 http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/bin/ksh/edit.c.diff?r1=1.57&r2=1.54 -Bryan.
