From 7604454b74928931524ff73db6a0a246756e05e2 Mon Sep 17 00:00:00 2001 From: Spencer Brower Date: Tue, 28 Oct 2025 16:44:13 -0400 Subject: [PATCH] feat: `envr list` now shows paths relative to home. --- mod.nu | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/mod.nu b/mod.nu index 9197378..17d92cd 100755 --- a/mod.nu +++ b/mod.nu @@ -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