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.64k stars 188 forks source link

Path to the current notebook #306

Open foozzi opened 7 months ago

foozzi commented 7 months ago

Hi there, I found that the current notebook is hardcoded https://github.com/xwmx/nb/blob/master/nb#L1078

So, I can create pull request with the added variable CURRENT_NOTEBOOK where we can set our own name.

xwmx commented 7 months ago

@foozzi Sounds good so far. Maybe $NB_DEFAULT_NOTEBOOK_NAME or $NB_HOME_NOTEBOOK_NAME for the variable name.