comparison .shell.d/50.common_env.sh @ 370:1e4a6dcc043d

hgrc: clean up machine-specific settings handling HGRCPATH ends up overriding machine-wide settings, which isn't what I want. Recent hg is nice enough to silently ignore includes of nonexistent files, so just use %include now.
author Augie Fackler <raf@durin42.com>
date Fri, 25 Sep 2015 14:42:23 -0400
parents 615fee88aa08
children 078a8053be9f
comparison
equal deleted inserted replaced
369:8b2a2f63e799 370:1e4a6dcc043d
15 15
16 insert_element_into_var "$HOME/unixSoft/lib/python" PYTHONPATH 16 insert_element_into_var "$HOME/unixSoft/lib/python" PYTHONPATH
17 insert_element_into_var /opt/hg/lib/python PYTHONPATH 17 insert_element_into_var /opt/hg/lib/python PYTHONPATH
18 18
19 insert_path_element /opt/hg/bin 19 insert_path_element /opt/hg/bin
20
21 export HGRCPATH="$HOME/.hgrc:$HOME/.private/hgrc:$HOME/.hgrc-$(hostname)"
22 which opendiff > /dev/null
23 if [ $? = 0 ] ; then
24 export HGRCPATH="$HGRCPATH:$HOME/unixSoft/hgrc-opendiff"
25 fi
26 export LESS=FSRX 20 export LESS=FSRX