Skip to content

Commit

Permalink
fix(quitcd.nu): specify signature in/out of command
Browse files Browse the repository at this point in the history
Nushell 0.10.1 introduces [stricter command signature parsing](https://www.nushell.sh/blog/2024-12-24-nushell_0_101_0.html#stricter-command-signature-parsing-toc), causing error upon importing this module.
  • Loading branch information
BeyondMagic committed Jan 12, 2025
1 parent fc86399 commit c2d21c3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion misc/quitcd/quitcd.nu
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
export def --env n [
...args : string # Extra flags to launch nnn with.
--selective = false # Change directory only when exiting via ^G.
] -> nothing {
]: nothing -> nothing {

# The behaviour is set to cd on quit (nnn checks if $env.NNN_TMPFILE is set).
# Hard-coded to its respective behaviour in `nnn` source-code.
Expand Down

0 comments on commit c2d21c3

Please sign in to comment.