# HG changeset patch # User Jeff Hammel # Date 1389906632 28800 # Node ID 38fc390b4e5d3d23118d2083ef39227033b71dc6 # Parent bb6e21338c5c705c7e59bbfd8c32dfaba6853a60 STUB: .bashrc .hgrc diff -r bb6e21338c5c -r 38fc390b4e5d .bashrc --- a/.bashrc Sun Jan 12 21:48:06 2014 -0800 +++ b/.bashrc Thu Jan 16 13:10:32 2014 -0800 @@ -353,6 +353,13 @@ emacs -nw `realwhich $@` } +lswhich() { + # ls -l real which + for i in "$@" + do + ls -l $(realwhich $i) + done +} ### functions for python diff -r bb6e21338c5c -r 38fc390b4e5d .hgrc --- a/.hgrc Sun Jan 12 21:48:06 2014 -0800 +++ b/.hgrc Thu Jan 16 13:10:32 2014 -0800 @@ -35,6 +35,6 @@ contact = k0scist @ gmail [alias] -blind-push = !($HG st -q | python -c "import sys, subprocess; print 'STUB: %s' % '.join([line[2:].rstrip() for line in sys.stdin.readlines() if len(line) > 2])" > blind_commit_message) && $HG commit -l blind_commit_message && $HG push && rm blind_commit_message +blind-push = !($HG st -q | python -c "import sys, subprocess; print 'STUB: %s' % ' '.join([line[2:].rstrip() for line in sys.stdin.readlines() if len(line) > 2])" > blind_commit_message) && $HG commit -l blind_commit_message && $HG push && rm blind_commit_message reset = !$HG revert --no-backup --all && $HG purge sync = !$HG pull && $HG push \ No newline at end of file