From 5cc4a837aa02ede7ff9112bc9915c25c15cb25af Mon Sep 17 00:00:00 2001 From: Gabriel Ebner Date: Mon, 29 Apr 2013 16:03:36 +0200 Subject: [PATCH] Make ~/.local/bin a higher priority in the PATH. --- commonshrc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/commonshrc b/commonshrc index e76d4ab..96c5059 100644 --- a/commonshrc +++ b/commonshrc @@ -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