view .shell.d/50.common_env.sh @ 188:e77c01b7b0f4

localfuncs: add tool for running check-code on hg
author Augie Fackler <durin42@gmail.com>
date Wed, 24 Feb 2010 14:34:21 -0600
parents 9b48ec89ffdf
children 5599a864b888
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"

insert_element_into_var "$HOME/unixSoft/lib/python" PYTHONPATH
insert_element_into_var /opt/hg/lib/python PYTHONPATH

insert_path_element /opt/hg/bin

export HGRCPATH="$HOME/.hgrc:$HOME/.private/hgrc"