Skip to content

Commit

Permalink
Update lfcd.nu to support nushell >= 0.87.0
Browse files Browse the repository at this point in the history
  • Loading branch information
ZennoZenith authored Jan 13, 2024
1 parent 6af2556 commit 0cf23b7
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion etc/lfcd.nu
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,8 @@
# }
# ]

def-env lfcd [] {
# def-env lfcd [] { # for nushell verison < 0.87.0
def --env lfcd [] { # For nushell version >= 0.87.0
let tmp = (mktemp)
lf -last-dir-path $tmp
try {
Expand Down

0 comments on commit 0cf23b7

Please sign in to comment.