summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWriterV2 <primary-v2@protonmail.com>2026-08-29 19:59:38 +0200
committerWriterV2 <primary-v2@protonmail.com>2026-08-29 19:59:38 +0200
commit14829f2eff9abdd13e4a7a01cb22c1e14bc5e272 (patch)
tree4bd9697f178e26231711e949434b9ca024f1ab84
parent965513163a6776cbf22d60dbee1d97492b1f0a63 (diff)
Nushell: Fix notes db path
-rw-r--r--.config/nushell/notes.nu4
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)
}
}