Update lfcd.nu (#1728)
The previous code caused an error telling to use a spread operator
This commit is contained in:
1 parent
12e99fdb64
commit
aaf5bbb22b
1 file changed
+1
-1
+1
-1
@@ -21,5 +21,5 @@
|
|||||||
|
|
||||||
# For nushell version >= 0.87.0
|
# For nushell version >= 0.87.0
|
||||||
def --env --wrapped lfcd [...args: string] {
|
def --env --wrapped lfcd [...args: string] {
|
||||||
cd (lf -print-last-dir $args)
|
cd (lf -print-last-dir ...$args)
|
||||||
}
|
}
|
||||||
Reference in new issue
Block a user