4 ms·
"Or you could create a shell script in your $PATH named ungron or norg to affect all users" You could also check argv[0] for if you were called via the `ungron
by mikepurvis 6y ago
"Or you could create a shell script in your $PATH named ungron or norg to affect all users"
You could also check argv[0] for if you were called via the `ungron` name. Then it would be as simple as a symlink, which is very easy to add at install/packaging time.
(I know it's fairly broadly known, but this is the "multicall binary" pattern: https://flameeyes.blog/2009/10/19/multicall-binaries/ https://flameeyes.blog/2009/10/19/multicall-binaries/)
- zvr 6y agoPlease submit this as an issue to the repo.
- mikepurvis 6y agoLooks like someone has done so here: https://github.com/tomnomnom/gron/issues/77 https://github.com/tomnomnom/gron/issues/77
- alblue 6y agoYup, and it’s been merged :-)