mirror of
https://github.com/sbrow/envr.git
synced 2025-12-29 15:47:38 -05:00
feat: Added envr config edit.
This commit is contained in:
4
mod.nu
4
mod.nu
@@ -34,7 +34,7 @@ export def "envr import" [
|
|||||||
$"file '($file)' imported successfull!"
|
$"file '($file)' imported successfull!"
|
||||||
}
|
}
|
||||||
|
|
||||||
const db_path = '/home/spencer/.envr/data.age'
|
const db_path = '~/.envr/data.age'
|
||||||
|
|
||||||
# Create or load the database
|
# Create or load the database
|
||||||
def "open db" [] {
|
def "open db" [] {
|
||||||
@@ -133,7 +133,7 @@ export def "envr sync" [] {
|
|||||||
|
|
||||||
# Edit your config
|
# Edit your config
|
||||||
export def "envr config edit" [] {
|
export def "envr config edit" [] {
|
||||||
'TODO:'
|
^$env.EDITOR (config-file)
|
||||||
}
|
}
|
||||||
|
|
||||||
def "config-file" []: [nothing -> path nothing -> nothing] {
|
def "config-file" []: [nothing -> path nothing -> nothing] {
|
||||||
|
|||||||
Reference in New Issue
Block a user