Mercurial > index.cgi > dotfiles
annotate .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 |
rev | line source |
---|---|
85
c75fecccc3e5
HG config changes:
Steve Huston <huston@astro.princeton.edu>
parents:
81
diff
changeset
|
1 # Global .hgrc - see bottom for local information |
c75fecccc3e5
HG config changes:
Steve Huston <huston@astro.princeton.edu>
parents:
81
diff
changeset
|
2 |
73
09b915fb36b8
* JT-65 alias for Wine on the home (ham shack) computer
huston@80426f53-59d1-405d-934b-f07cd76f4a1a
parents:
diff
changeset
|
3 [ui] |
85
c75fecccc3e5
HG config changes:
Steve Huston <huston@astro.princeton.edu>
parents:
81
diff
changeset
|
4 username = Steve Huston <huston@astro.princeton.edu> |
73
09b915fb36b8
* JT-65 alias for Wine on the home (ham shack) computer
huston@80426f53-59d1-405d-934b-f07cd76f4a1a
parents:
diff
changeset
|
5 merge = vimdiff |
85
c75fecccc3e5
HG config changes:
Steve Huston <huston@astro.princeton.edu>
parents:
81
diff
changeset
|
6 editor = $HOME/bin/hgeditor |
73
09b915fb36b8
* JT-65 alias for Wine on the home (ham shack) computer
huston@80426f53-59d1-405d-934b-f07cd76f4a1a
parents:
diff
changeset
|
7 |
09b915fb36b8
* JT-65 alias for Wine on the home (ham shack) computer
huston@80426f53-59d1-405d-934b-f07cd76f4a1a
parents:
diff
changeset
|
8 [extensions] |
09b915fb36b8
* JT-65 alias for Wine on the home (ham shack) computer
huston@80426f53-59d1-405d-934b-f07cd76f4a1a
parents:
diff
changeset
|
9 convert = |
09b915fb36b8
* JT-65 alias for Wine on the home (ham shack) computer
huston@80426f53-59d1-405d-934b-f07cd76f4a1a
parents:
diff
changeset
|
10 keyword = |
09b915fb36b8
* JT-65 alias for Wine on the home (ham shack) computer
huston@80426f53-59d1-405d-934b-f07cd76f4a1a
parents:
diff
changeset
|
11 color = |
09b915fb36b8
* JT-65 alias for Wine on the home (ham shack) computer
huston@80426f53-59d1-405d-934b-f07cd76f4a1a
parents:
diff
changeset
|
12 |
09b915fb36b8
* JT-65 alias for Wine on the home (ham shack) computer
huston@80426f53-59d1-405d-934b-f07cd76f4a1a
parents:
diff
changeset
|
13 [merge-tools] |
09b915fb36b8
* JT-65 alias for Wine on the home (ham shack) computer
huston@80426f53-59d1-405d-934b-f07cd76f4a1a
parents:
diff
changeset
|
14 vimdiff.executable = vim |
09b915fb36b8
* JT-65 alias for Wine on the home (ham shack) computer
huston@80426f53-59d1-405d-934b-f07cd76f4a1a
parents:
diff
changeset
|
15 vimdiff.args = -d $base $local $output $other -c "wincmd J" |
85
c75fecccc3e5
HG config changes:
Steve Huston <huston@astro.princeton.edu>
parents:
81
diff
changeset
|
16 |
c75fecccc3e5
HG config changes:
Steve Huston <huston@astro.princeton.edu>
parents:
81
diff
changeset
|
17 # Includes - here we pull in a config file for the particular host on which |
c75fecccc3e5
HG config changes:
Steve Huston <huston@astro.princeton.edu>
parents:
81
diff
changeset
|
18 # we're running, if there is one. This lets us set specific things on |
c75fecccc3e5
HG config changes:
Steve Huston <huston@astro.princeton.edu>
parents:
81
diff
changeset
|
19 # specific hosts fairly easily. $HOST must be defined in the environment |
c75fecccc3e5
HG config changes:
Steve Huston <huston@astro.princeton.edu>
parents:
81
diff
changeset
|
20 # (bash's built-in $HOSTNAME is insufficient) |
c75fecccc3e5
HG config changes:
Steve Huston <huston@astro.princeton.edu>
parents:
81
diff
changeset
|
21 %include $HOME/.hgrc.d/$HOST.rc |