$fish_user_paths is at end of path #888

Merged
merged 2 commits into from Jun 23, 2013

Conversation

Projects
None yet
3 participants
@xfix
Member

xfix commented Jun 22, 2013

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

This comment has been minimized.

Show comment
Hide comment
@terlar

terlar Jun 22, 2013

Contributor

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

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

This comment has been minimized.

Show comment
Hide comment
@ridiculousfish

ridiculousfish Jun 23, 2013

Member

Ok, I agree. Merged as 07b7a65
Thanks!

Member

ridiculousfish commented Jun 23, 2013

Ok, I agree. Merged as 07b7a65
Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment