From d1696522cb98fd1462beca54e457179dfecb8b91 Mon Sep 17 00:00:00 2001 From: Andrew Date: Sat, 25 May 2024 12:18:36 +0200 Subject: [PATCH] Update lfcd.nu The previous code caused an error telling to use a spread operator --- etc/lfcd.nu | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/etc/lfcd.nu b/etc/lfcd.nu index 168dc92f..5f7bf637 100644 --- a/etc/lfcd.nu +++ b/etc/lfcd.nu @@ -21,5 +21,5 @@ # For nushell version >= 0.87.0 def --env --wrapped lfcd [...args: string] { - cd (lf -print-last-dir $args) + cd (lf -print-last-dir ...$args) }