Mercurial > dotfiles
view .shell.d/50.common_env.sh @ 135:de6d0a9a7e3f
path_manipulation: more flexible so it can be used on non-PATH items
author | Augie Fackler <durin42@gmail.com> |
---|---|
date | Tue, 18 Aug 2009 13:43:57 -0500 |
parents | 82fd8ff94de8 |
children | 9b48ec89ffdf |
line wrap: on
line source
# generic settings, pulled into a .d file so it's easy to share between bash and zsh # Get me colors in ls export CLICOLOR="yes" export LSCOLORS="exgxcxDxCxEGEDcbcgExEx" # Generic environment variables export PAGER='less -M -X' export EDITOR='vim' export SVN_MERGE='svn-hgmerge.py' export CVS_RSH='ssh' export LESS="-R" insert_path_element ~/unixSoft/bin unset MANPATH # smart man(1)s autodetect that from PATH. # Python stuff export PYTHONSTARTUP="$HOME/.python/startup.py" MYPYTHONPATH="$HOME/unixSoft/lib/python:/opt/hg/lib/python" if [[ "$PYTHONPATH" == "" ]] ; then export PYTHONPATH="$MYPYTHONPATH" else export PYTHONPATH="$PYTHONPATH:$MYPYTHONPATH" fi insert_path_element /opt/hg/bin export HGRCPATH="$HOME/.hgrc:$HOME/.private/hgrc"