Hacker News new | ask | show | jobs
by dTal 3316 days 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!
3 comments

You could use an alias. They're case sensitive so SELECT could be mapped without impacting the built in "select".
Just 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.
Xonsh is far better both interactively and for scripting than bash, fish, zsh, or perl.
"alias select=command select" lets you override it.