Skip to content

Commit

Permalink
Update lfcd.nu (#1728)
Browse files Browse the repository at this point in the history
The previous code caused an error telling to use a spread operator
  • Loading branch information
unsafe-andrew authored May 25, 2024
1 parent 12e99fd commit aaf5bbb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion etc/lfcd.nu
Original file line number Diff line number Diff line change
Expand Up @@ -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)
}

0 comments on commit aaf5bbb

Please sign in to comment.