From 3945b3191a310174c9f0aa59918901c3177684fe Mon Sep 17 00:00:00 2001 From: ask4fusora Date: Sun, 12 Apr 2026 05:25:45 +0700 Subject: [PATCH] Use path-columns in result metadata hook Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> --- modules/result/mod.nu | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/result/mod.nu b/modules/result/mod.nu index 6084c8c0..c1a58c67 100644 --- a/modules/result/mod.nu +++ b/modules/result/mod.nu @@ -16,7 +16,7 @@ def display [ meta: record = {} ] { # the metadata *MUST* be set *FIRST* since the output of `table` is just a string - if $meta.source? == ls { metadata set --datasource-ls } else {} + if $meta.source? == ls { metadata set --path-columns [name] } else {} | if (term size).columns >= 100 { table -e } else { table } }