Setting different `PATH` variable for different profiles in iTerm2
0
votes
2
answers
949
views
I have the default
PATH
variable as set in the .zshrc
file.
I am looking for an elegant and simple way to add more directories to the PATH
per different profiles in iTerm2.
What would be the best way to do it?
To be concrete, assume I want:
1. Add /Users/myusername/somfolder1
and /Users/myusername/somfolder2/bin
to path of profile1
.
1. Add /Users/myusername/somfolder3
to profile2
.
Asked by GeorgeIrwin
(115 rep)
Jun 20, 2023, 11:22 AM
Last activity: Nov 22, 2024, 10:32 AM
Last activity: Nov 22, 2024, 10:32 AM