4 ms·
Is forking lots of common commands really less cumbersome to maintain than just using shell aliases or `expansion`? EDIT: By forking, I mean "having to maintai
by silentbicycle 17y ago
Is forking lots of common commands really less cumbersome to maintain than just using shell aliases or `expansion`?
EDIT: By forking, I mean "having to maintain separate frontends to", not the process startup overhead. (That's obviously inconsequential.) E.g. if I want to use a shortcut for a default path to clone a git repository from, then I would need gitbm. Etc.
- char_pointer 17y agoThe forking is not noticeable on today's machines; especially on this rather small scale. And yes, I would say that typing "cd `bm log`" is more cumbersome than typing "cdbm l". cdbm does pretty much the same behind the scenes anyway (with some error and argument checking), so why worry about that one extra mini process?
- silentbicycle 17y agoAs noted above, I meant forking in the "fork a project" sense, not the fork(2) call. I'm being a bit nitpicky, though, so I'm going to let it go.