Re:Start all of your commands with a comma (2009)
by floren on Thursday June 23, 2022 @05:11PM
(#31855206)
Plan 9 does that, I'm not sure why it never made it into Unix because I always loved it. Your networking-related commands were in `/bin/ip` and you'd run e.g. `ip/ping 1.1.1.1`. If you created the dir `$home/bin/rc/my` and put scripts in it, they would have been runnable as `my/hello` etc like in your example.
[ Parent
| on HN ]
Re:Start all of your commands with a comma (2009)
by yellowapple on Thursday June 23, 2022 @06:53PM
(#31856095)
Plan 9 also more or less does away with the concept of $PATH in the first place; just union-mount (with `bind`) whatever you want onto `/bin` and call it a day. Yet another thing that would've been great for Unix-likes to pull in (I think some Linuxen can technically do it, but with some limitations).
Re:Start all of your commands with a comma (2009)
by lawl on Friday June 24, 2022 @09:38AM
(#31861604)
All linuxen should be able to do that with overlayfs, I think.
Re:Start all of your commands with a comma (2009)
by keyle on Thursday June 23, 2022 @08:07PM
(#31856564)
no matter which kind of twisted idea someone comes up with related to terminals, there is always a guy who chimes in with "in Plan 9 you can do that...". It makes me smile every time. :)
Re:Start all of your commands with a comma (2009)
by theblazehen on Friday June 24, 2022 @03:17AM
(#31858641)
I've tested it and it works on Linux (bash and zsh), at least for your custom commands