News for hackers. Stuff that matters.
Re:Windows gets a new terminal by eropple on Monday May 06, 2019 @12:27PM (#19840937)
PowerShell having standardized tab completion of flags/arguments is really nice, but it's worth noting that both bash and zsh support pluggable completion. It's one's choice of tools, and the lack of completion therein, that's the real sticking point. Home/end work on every machine I own, though I know that some machines (some Macs, specifically) have issues unless they're configured in the terminal emulator.

(I try to use PowerShell when on Windows. I genuinely like it--just kinda wish it was a little easier to write-on-the-fly, it's very verbose and typey and Tab is just far enough away to cause some wrist strain. ;) )

Re:Windows gets a new terminal by timvisee on Monday May 06, 2019 @12:38PM (#19841065)
Yet I still can't figure out where to put tab completion files for custom binaries
Re:Windows gets a new terminal by eropple on Monday May 06, 2019 @03:53PM (#19843107)
You can't? I've never done it but I'm pretty sure I know this: in bash, you can get it from pkg-config. If you aren't using pkg-config, you're kind of swimming upstream in the first place, but CentOS and Fedora (the only distro I use, but I think Ubuntu uses the same) look at /etc/bash_completion.d.

In zsh, it's just $FPATH. Your canonical location can also be gotten from pkg-config.

This seems very googleable. Doubly so if you're doing the right thing and...using pkg-config.

(Please use pkg-config. Thank you for coming to my TED talk.)