diff .bashrc @ 3:072b183989e0

Merged in changes for the Mac, including the beginnings of platform deliniation (at least in the .bash_aliases).
author huston@80426f53-59d1-405d-934b-f07cd76f4a1a
date Sat, 11 Apr 2009 05:58:03 +0000
parents 7e33b3191cf7
children 6ffd3fb73f7f
line wrap: on
line diff
--- a/.bashrc	Fri Apr 10 21:26:50 2009 +0000
+++ b/.bashrc	Sat Apr 11 05:58:03 2009 +0000
@@ -15,19 +15,29 @@
    . $HOME/.bash_aliases
 fi
 
+#
 # Environment variables
+#
 export PS1='\h:\w\$ '
+export PAGER=less
 export EDITOR=vim
 
+#
 # Paths
-
+#
 # Standard-ish paths; some of these may be in place already, but if
 # they're not they should probably go near the front of the pack.
-for P in /sbin /usr/sbin /usr/local/sbin /usr/local/bin ; do
+for P in /sbin /usr/sbin /usr/local/bin /usr/local/sbin \
+    /opt/local/bin /opt/local/sbin ; do
    [[ "$PATH" =~ $P ]] || \
    export PATH=${P}${PATH:+:$PATH}
 done
 
+for M in /usr/local/share/man /usr/local/man /opt/local/share/man ; do
+   [[ "$MANPATH" =~ $M ]] || \
+   export MANPATH=${M}${MANPATH:+:$MANPATH}
+done
+
 # Local Perl install
 if [ -d ~/perl ]; then
    [[ "$PERL5LIB" =~ ~/perl ]] || \