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 181 forks source link

fix: Remove a subshell for KSH and ZSH entrypoints #244

Closed hyperupcall closed 11 months ago

hyperupcall commented 1 year ago

Improves the performance of the KSH and ZSH entrypoints by removing the overhead of a subshell .

This also adds CDPATH= and -- for extra safety.