Re:Start all of your commands with a comma (2009)
by layer8 on Thursday June 23, 2022 @05:29PM
(#31855382)
You could (ab)use home directories for that. I.e. place your hello into /home/my, and then you can invoke it as ~my/hello. You even get namespace completion for free after the `~`.
[ Parent
| on HN ]
Re:Start all of your commands with a comma (2009)
by Beltalowda on Thursday June 23, 2022 @07:42PM
(#31856427)
In zsh you can do "hash -d my=/path/to/my" and then you can use "~my/hello" from anywhere, and it doesn't need to be in /home.