Hacker News new | ask | show | jobs
by silentbicycle 6100 days 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.

1 comments

The 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?
As 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.