diff options
Diffstat (limited to 'show')
-rwxr-xr-x | show | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -6,6 +6,7 @@ # Parameters BASENAME="`basename $0`" DOCS="$HOME/data/doc" +LIST="$DOCS/.filelist" ITEM="$1" # Check @@ -15,4 +16,5 @@ if [ -z "$ITEM" ]; then fi # Dispatch -find $DOCS -iname "*$ITEM*" | head -1 | while read item; do xdg-open "$item"; done +#find $DOCS -iname "*$ITEM*" | head -1 | while read item; do xdg-open "$item"; done +grep "$ITEM" $LIST | while read item; do xdg-open "$item"; done |