diff options
Diffstat (limited to '.config')
| -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) } } |
