]> gitweb.fluxo.info Git - scripts.git/commitdiff
Feat: show: fixes (4)
authorSilvio Rhatto <rhatto@riseup.net>
Mon, 2 Nov 2020 21:43:10 +0000 (18:43 -0300)
committerSilvio Rhatto <rhatto@riseup.net>
Mon, 2 Nov 2020 21:43:10 +0000 (18:43 -0300)
show

diff --git a/show b/show
index 815040309239c9d4997f33e2b6a5ab359156e6bd..46061d838d44b1b79a436e5c218f5ffcc51b2374 100755 (executable)
--- a/show
+++ b/show
@@ -41,4 +41,7 @@ fi
 
 # Dispatch
 #find $DOCS -iname "*$ITEM*" | head -1 | while read entry; do xdg-open "$entry"; done
-cd $DOC && grep -- "$ITEM" $LIST | while read entry; do xdg-open "$entry"; done
+cd $DOC && grep -- "$ITEM" $LIST | while read entry; do
+  echo "Opening $entry..."
+  xdg-open "$entry"
+done