Update lfcd.nu (#1728)

The previous code caused an error telling to use a spread operator
This commit is contained in:
Andrew authored and GitHub committed 2024-05-26 02:05:37 +10:00
1 parent 12e99fdb64
commit aaf5bbb22b
1 file changed
+1 -1
+1 -1
View File
@@ -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)
}