From 14829f2eff9abdd13e4a7a01cb22c1e14bc5e272 Mon Sep 17 00:00:00 2001 From: WriterV2 Date: Sat, 29 Aug 2026 19:59:38 +0200 Subject: Nushell: Fix notes db path --- .config/nushell/notes.nu | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to '.config/nushell/notes.nu') 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) } } -- cgit v1.2.3