$fish_user_paths is at end of path #888
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
I don't think it's good idea, considering it could be surprising. What user installs is more important, than what operating system installs in my opinion. Consider you use tool like ccache – for it to work, you have to put it in
$PATH
before actualgcc
. With current behavior, the standardgcc
will run, as it's inside/usr/bin
.Or, I'm going to give other problem. Suppose you compile something you have already installed on your computer, for example Perl, or something (or even, update the standard modules that contain binaries with versions from CPAN, without root access), but with newer version. You add it to path, but it doesn't work, as
/usr/bin
contains Perl.