comparison .bash_overrides @ 417:32b202653753

wip
author Jeff Hammel <jhammel@mozilla.com>
date Mon, 05 Aug 2013 01:35:43 -0700
parents 41c3ea0a3513
children ed193fcaa0dc
comparison
equal deleted inserted replaced
416:2455c71a196e 417:32b202653753
109 if [[ "$*" == res* ]] || [[ "$*" == pur* ]] 109 if [[ "$*" == res* ]] || [[ "$*" == pur* ]]
110 then 110 then
111 echo "Aborting \'hg $*\'; hg root is ${HOME}!" 111 echo "Aborting \'hg $*\'; hg root is ${HOME}!"
112 return 1 112 return 1
113 fi 113 fi
114 command hg "$@"
115 fi 114 fi
115 command hg "$@"
116 } 116 }
117 117
118 function lsdiff { 118 function lsdiff {
119 # TODO: extract this general pattern as a bash "decorator" 119 # TODO: extract this general pattern as a bash "decorator"
120 if expr "$1" : 'http[s]\?://.*' &> /dev/null 120 if expr "$1" : 'http[s]\?://.*' &> /dev/null