On 30/03/2020 09:52, Serpent7776 wrote:
That's why I would not pollute global env just for single application.

(Apologies for the inevitable mangling my email client is about to perform)

Some distributions work around this by having binary-specific wrappers. I'm thinking NixOS in particular: it's a common pattern, when looking under each package's `/bin/` directory, to find the original binary as `.binary-wrapped`, and have a shell script named `binary` instead that calls the real binary with modified variables, parameters and arguments.


In this context, you may want to have a script somewhere on your PATH (as long as it's in a directory with a higher priority than where default pass is) which adds your variable/argument to the real pass. If you're worried about having to call two bashes, I think `source`ing the real pass instead should work?

Reply via email to