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