Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

$fish_user_paths is at end of path #888

Merged
merged 2 commits into from Jun 23, 2013

Conversation

KamilaBorowska
Copy link
Contributor

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 actual gcc. With current behavior, the standard gcc 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.

@terlar
Copy link
Contributor

terlar commented Jun 22, 2013

This makes more sense in my opinion, now I use my own custom function to append the paths instead.

@ridiculousfish ridiculousfish merged commit 07b7a65 into fish-shell:master Jun 23, 2013
@ridiculousfish
Copy link
Member

Ok, I agree. Merged as 07b7a65
Thanks!

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Apr 18, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants