# HG changeset patch # User Brian Neal # Date 1370391848 18000 # Node ID 71f65ccb96f036c9879fbd07153696818293526a # Parent b113527fa5d188a59464502b8a304615484e1773 Adding my .hgrc and .pythonstartup files. Added a .hgignore. diff -r b113527fa5d1 -r 71f65ccb96f0 .hgignore --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/.hgignore Tue Jun 04 19:24:08 2013 -0500 @@ -0,0 +1,5 @@ +syntax: glob + +vim/vimfiles/.netrwhist +vim/vimfiles/bundle/ctrlp.vim/doc/tags +*.swp diff -r b113527fa5d1 -r 71f65ccb96f0 hg/.hgrc --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/hg/.hgrc Tue Jun 04 19:24:08 2013 -0500 @@ -0,0 +1,27 @@ +[ui] +username = Brian Neal +editor = vim +ssh = ssh -C +merge = kdiff3 + +[extensions] +color = +graphlog = +hgext.extdiff = +hgext.convert = +pager = +progress = + +[extdiff] +cmd.kdiff3 = + +[merge-tools] +kdiff3.args =--L1 base --L2 local --L3 other $base $local $other -o $output + +[convert] +svn.trunk = madeira/trunk +svn.branches = madeira/branches +svn.tags = madeira/tags + +[pager] +pager = LESS='FRX' less diff -r b113527fa5d1 -r 71f65ccb96f0 python/.pythonstartup --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/python/.pythonstartup Tue Jun 04 19:24:08 2013 -0500 @@ -0,0 +1,15 @@ +# python startup file +import readline +import rlcompleter +import atexit +import os +# tab completion +readline.parse_and_bind('tab: complete') +# history file +histfile = os.path.join(os.environ['HOME'], '.pythonhistory') +try: + readline.read_history_file(histfile) +except IOError: + pass +atexit.register(readline.write_history_file, histfile) +del os, histfile, readline, rlcompleter