Can those who know what zsh mean do a better job with existing tools or custom made scripts? 100%, but that doesn't matter.
Beyond that, you can level up even further by firing up Emacs and never again needing a terminal for things that require completion.
If they use their institution's infrastructure, it's managed by the dedicated system admins. No way they're going to allow this tool to be installed.
I spent 10 years in the kind of academic setting described. A LARGE part of the work of the people in this example do their work on ordinary self-managed laptops without a sysadmin in sight (and probably very little common language in which to even begin communicating with a sysadmin, if they even know what a sysadmin is). The amount of time that is wasted by ordinary researchers being very uncomfortable with the terminal is staggering. Although I was/am a researcher in my own right, I do feel that I had an order of magnitude greater positive impact on research by helping out the approximate dozen of other researchers around me do their terminal and programming work more efficiently/better/smoothly/reliably.
I definitely think there's huge room for improvement in this area. But I don't think something like Fig is the answer; safe and effective use of Fig seems to require enough wherewithal to ask someone (or google) how to set up bog standard autocompletion solution in the first place.
Fig's declarative schema makes building the completions for subcommands, options and arguments very easy. This means we can support much more powerful autocomplete for many more CLIs.
Fig's standard format also makes it possible to suggest shortcuts for standard workflows (similar to aliases but more visual).
Finally, zsh and fish have good support for traditional autocomplete, but bash does not. Fig works the same across all shells (even when in an SSH session or a docker container).
How is that a standard when you just came up with it? Any other existing autocompletion format is more standard than whatever you just released.
Agree RE bash but at some point doesn't one just use the tool with the featureset one wants?
It should be pretty easy to 'compile' a Fig completion spec down to zsh, fish, or bash. This is actually something I've been meaning to write!
This image may help clarify: https://fig.io/images/slideshow/screenshots/ssh.png
That said, it's pretty attractive because it's much harder to make a case to install fish on remote servers.
if I type 'sudo cp ' will it run 'sudo ls' to offer suggestions?
this...is not good. my terminal should not be executing code on my behalf on remote servers I've SSHed to.