]> gitweb.fluxo.info Git - scripts.git/commitdiff
ZTD: check for dangling files
authorSilvio Rhatto <rhatto@riseup.net>
Sun, 23 Apr 2017 22:54:54 +0000 (19:54 -0300)
committerSilvio Rhatto <rhatto@riseup.net>
Sun, 23 Apr 2017 22:54:54 +0000 (19:54 -0300)
ztd

diff --git a/ztd b/ztd
index 5610abaf5f8cb6d5f0fd63c4514c597117670e7f..7d3add871d1ec148568b4d60e568467ad1f67f3a 100755 (executable)
--- a/ztd
+++ b/ztd
@@ -15,6 +15,13 @@ elif ! git status &> /dev/null; then
   status
   todo
   postponed
+
+  if [ ! -z "`ls -1 ~/load/`" ]; then
+    echo "Dangling files at ~/load:"
+    echo ""
+    ls -lh ~/load/
+  fi
+
   exit
 fi