diff options
-rwxr-xr-x | show | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -41,7 +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 +grep -- "$ITEM" $LIST | while read entry; do echo "Opening $entry..." - xdg-open "$entry" + cd $DOC && xdg-open "$entry" done |