I ran into a bit of an issue while testing nb show's options.
There's a --browse option, but it only uses $NB_BROWSER, which I've set to a TUI browser. I have a GUI browser at $NB_GUI_BROWSER, but I can't use it for this.
My thought was that I'd be able to just do NB_BROWSER=$NB_GUI_BROWSER nb show $id -b, but it seems .nbrc overrides the value I set.
Slightly unrelated, but I also tested this in nb shell and found I wasn't able to set them at all there.
__ _
\ \ _ __ | |__
\ \ | '_ \| '_ \
/ / | | | | |_) |
/_/ |_| |_|_.__/
------------------
nb shell started. Enter ls to list notes and notebooks.
Enter help for usage information. Enter exit to exit.
nb❯ NB_BROWSER=librewolf
! Not found: NB_BROWSER=librewolf
nb❯
maybe this is down to .nbrc encouraging you export your variables instead of just setting them? idk 🤷
I ran into a bit of an issue while testing
nb show's options.There's a
--browseoption, but it only uses$NB_BROWSER, which I've set to a TUI browser. I have a GUI browser at$NB_GUI_BROWSER,but I can't use it for this.My thought was that I'd be able to just do
NB_BROWSER=$NB_GUI_BROWSER nb show $id -b, but it seems.nbrcoverrides the value I set.Slightly unrelated, but I also tested this in
nb shelland found I wasn't able to set them at all there.maybe this is down to
.nbrcencouraging you export your variables instead of just setting them? idk 🤷