feat: envr list now shows paths relative to home.

This commit is contained in:
2025-10-28 16:44:13 -04:00
parent 697968e410
commit 7604454b74

7
mod.nu
View File

@@ -192,7 +192,12 @@ export def "envr init" [
# View your tracked files
export def "envr list" [] {
(files | reject contents)
(
files
| reject contents
| update path { $in | path relative-to ~/ | $'~/($in)' }
| update dir { $in | path relative-to ~/ | $'~/($in)' }
)
}
# List all the files in the database