You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Resolves#1078
Previous behavior: Navigating into a folder with a `Cargo.yml` prepends
the target folders to `PATH`. They never get removed. Navigating into
different cargo folders one after the other leads to repeated PATH
extensions.
New behavior: Navigating into a folder with a `Cargo.yml` prepends the
target folders to `PATH`. Leaving a folder with a `Cargo.yml` drops the
target folders from `PATH`.
There is no guarantee that they were added by the script when entering.
The PATH could have had the target entries before entering. However,
when using this hook, it seems reasonable to assume that this prepend
and drop behavior is desired. It also seems reasonable to assume that
build target folders would not be used for normal util operations.
0 commit comments