commit 97b3136138b0bd2209d7250aa9d432f2837116ca parent 3084d6bb1e52910c45b173766061ac9ed7cfd625 Author: Sven Möller <sven-moeller@outlook.de> Date: Sat, 18 Dec 2021 21:51:22 +0100 Bugfix Diffstat:
M | bin/.local/bin/bm | | | 4 | ++-- |
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/bin/.local/bin/bm b/bin/.local/bin/bm @@ -13,7 +13,7 @@ get_url () { add () { url="$1" - cat "$urls_file" "$archive_file" | grep "$url" \ + cat $BM_DIR/{unread,favorite,archive} | grep "$url" \ && "$NOTIFY" "Already saved!" \ && exit [ -z "$2" ] \ @@ -22,7 +22,7 @@ add () { | sed -E 's-</?title>--g')" \ || title="$2" - echo "$url $title" >> "$urls_file" + echo "$url $title" >> $BM_DIR/unread "$NOTIFY" "Bookmark added! ($title)" }