feat: Added envr config edit.

This commit is contained in:
2025-10-28 14:43:57 -04:00
parent ddd862b6c8
commit 480f3ca234

4
mod.nu
View File

@@ -34,7 +34,7 @@ export def "envr import" [
$"file '($file)' imported successfull!"
}
const db_path = '/home/spencer/.envr/data.age'
const db_path = '~/.envr/data.age'
# Create or load the database
def "open db" [] {
@@ -133,7 +133,7 @@ export def "envr sync" [] {
# Edit your config
export def "envr config edit" [] {
'TODO:'
^$env.EDITOR (config-file)
}
def "config-file" []: [nothing -> path nothing -> nothing] {