]> gitweb.fluxo.info Git - scripts.git/commitdiff
TODO: use xtype
authorSilvio Rhatto <rhatto@riseup.net>
Thu, 13 Oct 2016 19:25:34 +0000 (16:25 -0300)
committerSilvio Rhatto <rhatto@riseup.net>
Thu, 13 Oct 2016 19:25:34 +0000 (16:25 -0300)
todo

diff --git a/todo b/todo
index bb5338e15d031a82fe39958dbcf3905a9e033c00..3c17c4fd536ec8dd4941ff5fcaee94e2875e43fe 100755 (executable)
--- a/todo
+++ b/todo
@@ -22,7 +22,7 @@ FOLDERS="`echo $WORKPATH | tr ':' ' ' | sed -e "s|~|$HOME|g"`"
 # Iterate
 function todo_find {
   for folder in $FOLDERS; do
-    find $folder/ -maxdepth $TODO_MAXDEPTH -type f -iname 'todo*'
+    find $folder/ -maxdepth $TODO_MAXDEPTH -xtype f -iname 'todo*'
   done
 }