Make ~/.local/bin a higher priority in the PATH.
This commit is contained in:
parent
398a8706bb
commit
5cc4a837aa
@ -20,9 +20,6 @@ add_myprefix_to() {
|
||||
|
||||
export MYPREFIX=~/.local
|
||||
|
||||
add_myprefix_to PATH bin
|
||||
add_myprefix_to PATH sbin
|
||||
|
||||
add_to PATH /sbin
|
||||
add_to PATH /usr/sbin
|
||||
add_to PATH /usr/local/sbin
|
||||
@ -46,6 +43,9 @@ add_myprefix_to RUBYLIB lib/ruby/site_ruby/1.9.1
|
||||
add_to PATH ~/.gem/ruby/1.8/bin
|
||||
add_to PATH ~/.gem/ruby/1.9.1/bin
|
||||
|
||||
add_myprefix_to PATH bin
|
||||
add_myprefix_to PATH sbin
|
||||
|
||||
if [ -x /usr/bin/perl ]; then
|
||||
PERLVERSION="`perl -e 'printf"%vd\n",$^V'`"
|
||||
add_myprefix_to PERL5LIB lib/perl/$PERLVERSION
|
||||
|
Loading…
Reference in New Issue
Block a user