Ashok Bakthavathsalam
@ashokb
Founder, Managing Trustee
I am compiling multiple executables.
And I want to be able to execute it when I am in the current working directory.
How to add the CWD to the environ
C
isbur Hi! I found a somewhat sneaky solution to this issue. It uses a comparatively recent Secrets feature. Yes, just put desired PATH contents to secret named "PATH", for example, you can echo default PATH contents and than copy it cocatenating with your own paths.
However, some system-wide settings affecting PATH value may be changed later, and as this solution is basically forcible rewriting of PATH variable you may need to manually update the "secret" according to changes that took place.2 years ago
I would like to add the current working directory to the environment PATH variable
I have something like this in my .bashrc file
export PATH=/home/r