# HG changeset patch # User Jeff Hammel # Date 1371532925 25200 # Node ID 133eb1ade1dd2dd7e9026cd0ea220bb7eb52098f # Parent 0da3813d76d0772c2b2bbd2a49b9d3e45fe4b2f0 documentation diff -r 0da3813d76d0 -r 133eb1ade1dd .bashrc --- a/.bashrc Mon Jun 17 01:24:45 2013 -0700 +++ b/.bashrc Mon Jun 17 22:22:05 2013 -0700 @@ -57,8 +57,10 @@ apply-patch() { # apply a patch # TODO: + # - rewrite in python! # - extract this general pattern as a bash "decorator" like `lsdiff` in .bash_overrides # - right now level=1; make this configurable (somehow) + if (( ! $# )) then echo "No patch supplied"