.bashenv
changeset 541 550f4a008534
parent 480 4d0ff0dfdeb9
child 594 521916a26ee2
--- a/.bashenv	Sat Sep 01 10:32:47 2012 +0300
+++ b/.bashenv	Tue Sep 04 13:42:33 2012 +0300
@@ -24,8 +24,11 @@
 if [[ ! $PATH =~ $HOME/usr/bin ]]; then
   export PATH=$PATH:~/usr/bin
 fi
-if [[ ! $PATH =~ /usr/sbin ]]; then
-  export PATH=$PATH:/usr/sbin
+if [[ ! :$PATH =~ :/usr/sbin ]]; then
+  export PATH=/usr/sbin:$PATH
+fi
+if [[ ! :$PATH =~ :/sbin ]]; then
+  export PATH=/sbin:$PATH
 fi
 
 if [[ ! $LD_LIBRARY_PATH =~ $HOME/usr/lib ]]; then