xwmx / nb

CLI and local web plain text note‑taking, bookmarking, and archiving with linking, tagging, filtering, search, Git versioning & syncing, Pandoc conversion, + more, in a single portable script.
https://xwmx.github.io/nb
GNU Affero General Public License v3.0
6.43k stars 180 forks source link

[BUG?] nb open (for bookmark) doesn't work in linux #307

Closed foozzi closed 4 months ago

foozzi commented 4 months ago

Hi there, Today I noticed that the feature nb open for bookmarks doesn't work in linux (Open Suse, KDE5).

If I call, for example, nb open 1 where 1 it's a bookmark - firefox will open file explorer instead a website

I have tested it on my MacBook, and it works as well.

I found that in the https://github.com/xwmx/nb/blob/master/nb#L2725 line ${_request_url:-} always is empty

foozzi commented 4 months ago

Sorry, my mistake.

It's not a bug!