2 ms·
I think shells should support that, allowing you to do $ my hello It would mean tools such as git, microk8s and aws wouldn’t have to implement that “look up
by Someone 4y ago
I think shells should support that, allowing you to do
$ my hello
It would mean tools such as git, microk8s and aws wouldn’t have to implement that “look up first argument, check whether it’s a command I know, and if so, run it” on their own, and would have slightly simpler auto complete configs.
It also could mean launching fewer processes (for the case where ‘my’ is a script or executable that looks up the location of ‘hello’ and launches it)