Mercurial > dotfiles
view .shell.d/50.common_env.sh @ 262:3350b219b653
wcroot: use git to directly find repo root.
git cleverly hides this under git-rev-parse, which isn't a place I'd
have ever thought to look. Thanks to Jacob Lee for the tip.
author | Augie Fackler <durin42@gmail.com> |
---|---|
date | Fri, 17 Jun 2011 09:46:17 -0500 |
parents | 308c884414bc |
children | 615fee88aa08 |
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. 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:$HOME/.hgrc-$(hostname)" export LESS=FSRX