Mercurial > index.cgi > dotfiles
view .hgrc @ 85:c75fecccc3e5
HG config changes:
* Move hgeditor to .hgrc out of .bashrc
* Create $HOST variable
* $HOST-switched includes for fine tuning environments based on hostname
author | Steve Huston <huston@astro.princeton.edu> |
---|---|
date | Wed, 24 Apr 2013 14:18:18 -0400 |
parents | e2f98d3b4b5b |
children | 463fe15a340f |
line wrap: on
line source
# Global .hgrc - see bottom for local information [ui] username = Steve Huston <huston@astro.princeton.edu> merge = vimdiff editor = $HOME/bin/hgeditor [extensions] convert = keyword = color = [merge-tools] vimdiff.executable = vim vimdiff.args = -d $base $local $output $other -c "wincmd J" # Includes - here we pull in a config file for the particular host on which # we're running, if there is one. This lets us set specific things on # specific hosts fairly easily. $HOST must be defined in the environment # (bash's built-in $HOSTNAME is insufficient) %include $HOME/.hgrc.d/$HOST.rc