hey super cool! i mostly switched to the flag style so i could up-arrow edit more easily when a command didn’t work. gave up the nice elegance of the commands themselves just being regularscripts though. -sd person
I've always liked how (iirc) in plan9's rc shell you can just refer to scripts by directory. So you really could just setup your /bin like the scripts directory and type:
; bin/os/update/linde <args>
I think that's how that works, it's been a while since I've used rc.
Not quite. The unique thing about rc is that it resolves directories in your $path as well.
This means that you can have /bin/os/update/linde and call it by typing os/update/linde rather than the full path, since it is able to resolve os/ to /bin/os/.
ianthehenry | 6 hours ago
hey super cool! i mostly switched to the flag style so i could up-arrow edit more easily when a command didn’t work. gave up the nice elegance of the commands themselves just being regularscripts though. -sd person
zk | 5 hours ago
I've always liked how (iirc) in plan9's rc shell you can just refer to scripts by directory. So you really could just setup your /bin like the scripts directory and type:
I think that's how that works, it's been a while since I've used
rc.landon | 4 hours ago
That kinda sounds like the same ~/bin/... problem this and sd are tryna avoid.
Crestwave | 3 hours ago
Not quite. The unique thing about
rcis that it resolves directories in your$pathas well.This means that you can have
/bin/os/update/lindeand call it by typingos/update/linderather than the full path, since it is able to resolveos/to/bin/os/.zk | 7 minutes ago
Thank you! This is what I meant.