Commit 76dbde2
fix: preserve system PATH in activate command
activate.go was using CleanSystemPaths() which only returns paths after
the first vfox path, discarding prefixPaths (paths before vfox). This
caused system paths like /usr/local/bin, /usr/bin, /bin to be lost when
they appeared before vfox paths in PATH.
Now uses SplitSystemPaths() like env.go to properly preserve all system
paths in the correct priority order.
Fixes #626
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>1 parent 7114a9c commit 76dbde2
1 file changed
+15
-6
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
148 | 148 | | |
149 | 149 | | |
150 | 150 | | |
151 | | - | |
152 | | - | |
153 | | - | |
154 | | - | |
155 | | - | |
156 | | - | |
| 151 | + | |
| 152 | + | |
| 153 | + | |
| 154 | + | |
| 155 | + | |
| 156 | + | |
| 157 | + | |
| 158 | + | |
| 159 | + | |
| 160 | + | |
| 161 | + | |
| 162 | + | |
| 163 | + | |
| 164 | + | |
| 165 | + | |
157 | 166 | | |
158 | 167 | | |
159 | 168 | | |
| |||
0 commit comments