diff options
| author | WriterV2 <primary-v2@protonmail.com> | 2026-08-29 19:59:38 +0200 |
|---|---|---|
| committer | WriterV2 <primary-v2@protonmail.com> | 2026-08-29 19:59:38 +0200 |
| commit | 14829f2eff9abdd13e4a7a01cb22c1e14bc5e272 (patch) | |
| tree | 4bd9697f178e26231711e949434b9ca024f1ab84 | |
| parent | 965513163a6776cbf22d60dbee1d97492b1f0a63 (diff) | |
Nushell: Fix notes db path
| -rw-r--r-- | .config/nushell/notes.nu | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/.config/nushell/notes.nu b/.config/nushell/notes.nu index c591063..053601a 100644 --- a/.config/nushell/notes.nu +++ b/.config/nushell/notes.nu @@ -1,10 +1,10 @@ def open-db-in-memory [] { if ($env.NOTES_DB_PATH | path exists) { - stor import --file-name (get-db-path) + stor import --file-name ($env.NOTES_DB_PATH) } else { stor reset stor create -t "note" -c {created: datetime, text: str} - stor export --file-name (get-db-path) + stor export --file-name ($env.NOTES_DB_PATH) } } |
