changeset 304:7ed290454f50

random cleanup but not much
author Jeff Hammel <jhammel@mozilla.com>
date Tue, 14 May 2013 16:35:56 -0700
parents 266d6b337373
children fac01a1bcedf
files .bashrc
diffstat 1 files changed, 6 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/.bashrc	Tue May 14 16:26:44 2013 -0700
+++ b/.bashrc	Tue May 14 16:35:56 2013 -0700
@@ -94,9 +94,9 @@
     git diff $(git merge-base HEAD master)
 }
 
-# nice fast find function
 EXCLUDES="(\.svn)|(\.mo$)|(\.po$)|(\.pyc$)|(\.hg$)|(\.git$)"
 ff() {
+    # nice fast find function
 
     if (( $# < 2 ))
     then
@@ -111,9 +111,11 @@
 }
 
 chainff() {
+    # chained fast find
+
     if (( $# < 2 ))
     then
-	return 0
+	return 1 # bad invocation
     fi
 
     RESULTS=`ff "$2" "$1"`
@@ -138,9 +140,9 @@
     done
 }
 
-# contextual fastfind
+
 cff () {
-
+    # contextual fastfind
     if (( $# < 2 )); then
         local FILENAME='*' # default -- look in all files
     else