changeset 569:38fc390b4e5d

STUB: .bashrc .hgrc
author Jeff Hammel <k0scist@gmail.com>
date Thu, 16 Jan 2014 13:10:32 -0800
parents bb6e21338c5c
children fb4e54f50dd2
files .bashrc .hgrc
diffstat 2 files changed, 8 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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
 
--- 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