5 ms·
It's a shame Bash used 'select' as an elaborate menu built-in - it'd be quite neat to name the binary that (and drop the quotes). The you could just type the qu
by dTal 10y ago
It's a shame Bash used 'select' as an elaborate menu built-in - it'd be quite neat to name the binary that (and drop the quotes). The you could just type the query right into your prompt!
- koolba 10y agoYou could use an alias. They're case sensitive so SELECT could be mapped without impacting the built in "select".
- labster 10y agoJust use the fish shell instead, and you can avoid the years of shell cruft of bash, or the endless customization of zsh. Bash is a good environment for shell scripting, but not really the best for user interaction. Although perl is probably the best environment for shell scripting.
- fnj 10y agoXonsh is far better both interactively and for scripting than bash, fish, zsh, or perl.
- lorenzhs 10y ago"alias select=command select" lets you override it.