• We’re currently investigating an issue related to the forum theme and styling that is impacting page layout and visual formatting. The problem has been identified, and we are actively working on a resolution. There is no impact to user data or functionality, this is strictly a front-end display issue. We’ll post an update once the fix has been deployed. Thanks for your patience while we get this sorted.

bashrc help

tidehigh

Senior member
So i have an export that is just a directory. it is used in my path and ld-lib path. i need to be able to switch this export directory quickly. can i set up an alias that will actually edit the bashrc file?

ok while typing i think i figured out a solution. have to bashrc files, one with each needed config, and have an alias in both that renames the bashrc's and resources. does that make sense?

what's an efficient solution?
 
I would probably just have 2 scripts that I sourced when I wanted to change directories. i.e. run '. ~/bin/directory1.sh' or '. ~/bin/directory2.sh'.
 
Back
Top