From c2d21c30fbd11c9b2ab07f555e4be30e963e98d5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jo=C3=A3o=20F=2E=20=28BeyondMagic/koetemagie=29?= Date: Sat, 11 Jan 2025 23:24:17 -0300 Subject: [PATCH] fix(quitcd.nu): specify signature in/out of command 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. --- misc/quitcd/quitcd.nu | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/misc/quitcd/quitcd.nu b/misc/quitcd/quitcd.nu index fe0d85a7..80fb451f 100644 --- a/misc/quitcd/quitcd.nu +++ b/misc/quitcd/quitcd.nu @@ -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.