Mercurial > dotfiles
diff .shell.d/50.common_env.sh @ 39:62bfb554ab85
Reorganize zsh files so that bash can work as well.
author | Augie Fackler <durin42@gmail.com> |
---|---|
date | Mon, 26 Jan 2009 13:21:00 -0600 |
parents | |
children | a36d89137c84 |
line wrap: on
line diff
new file mode 100644 --- /dev/null +++ b/.shell.d/50.common_env.sh @@ -0,0 +1,24 @@ +# 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/durin/lib/svn-python" +if [[ "$PYTHONPATH" == "" ]] ; then + export PYTHONPATH="$MYPYTHONPATH" +else + export PYTHONPATH="$PYTHONPATH:$MYPYTHONPATH" +fi