.bashenv
changeset 541 550f4a008534
parent 480 4d0ff0dfdeb9
child 594 521916a26ee2
equal deleted inserted replaced
540:790b9f7a52ed 541:550f4a008534
    22 export CDPATH=.:~:~/devel:~/devel/my-devel
    22 export CDPATH=.:~:~/devel:~/devel/my-devel
    23 
    23 
    24 if [[ ! $PATH =~ $HOME/usr/bin ]]; then
    24 if [[ ! $PATH =~ $HOME/usr/bin ]]; then
    25   export PATH=$PATH:~/usr/bin
    25   export PATH=$PATH:~/usr/bin
    26 fi
    26 fi
    27 if [[ ! $PATH =~ /usr/sbin ]]; then
    27 if [[ ! :$PATH =~ :/usr/sbin ]]; then
    28   export PATH=$PATH:/usr/sbin
    28   export PATH=/usr/sbin:$PATH
       
    29 fi
       
    30 if [[ ! :$PATH =~ :/sbin ]]; then
       
    31   export PATH=/sbin:$PATH
    29 fi
    32 fi
    30 
    33 
    31 if [[ ! $LD_LIBRARY_PATH =~ $HOME/usr/lib ]]; then
    34 if [[ ! $LD_LIBRARY_PATH =~ $HOME/usr/lib ]]; then
    32   export LD_LIBRARY_PATH=$HOME/usr/lib
    35   export LD_LIBRARY_PATH=$HOME/usr/lib
    33 else
    36 else