Mercurial > dotfiles
view .shell.d/50.common_env.sh @ 354:3d46ce32c14e
which-function-mode: only enable in emacs 24.4 and later
Emacs 24.3.x has a bug in which-function-mode that causes my emacs to
lock up for several seconds. Rather than tolerate that, just disable
which-function-mode on those systems.
author | Augie Fackler <raf@durin42.com> |
---|---|
date | Tue, 18 Nov 2014 17:17:36 -0500 |
parents | 615fee88aa08 |
children | 1e4a6dcc043d |
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)" which opendiff > /dev/null if [ $? = 0 ] ; then export HGRCPATH="$HGRCPATH:$HOME/unixSoft/hgrc-opendiff" fi export LESS=FSRX