Commit 33b5f9c
committed
Alter PATH for login shells, not interactive shells
The installer was adding PATH exports to .bashrc/.zshrc, which are
rc files for interactive shells. PATH belongs in login-shell startup
files (~/.profile, ~/.bash_profile, ~/.zprofile) so it is set once
per session and inherited by all child processes.1 parent 9a0d581 commit 33b5f9c
1 file changed
+12
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
151 | 151 | | |
152 | 152 | | |
153 | 153 | | |
154 | | - | |
| 154 | + | |
155 | 155 | | |
156 | | - | |
157 | | - | |
158 | | - | |
| 156 | + | |
| 157 | + | |
| 158 | + | |
| 159 | + | |
| 160 | + | |
| 161 | + | |
| 162 | + | |
| 163 | + | |
| 164 | + | |
| 165 | + | |
| 166 | + | |
159 | 167 | | |
160 | 168 | | |
161 | 169 | | |
| |||
0 commit comments