mirror of
https://github.com/jarun/nnn.git
synced 2025-01-15 21:36:42 +00:00
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.
This commit is contained in:
parent
fc86399f29
commit
c2d21c30fb
|
@ -7,7 +7,7 @@
|
||||||
export def --env n [
|
export def --env n [
|
||||||
...args : string # Extra flags to launch nnn with.
|
...args : string # Extra flags to launch nnn with.
|
||||||
--selective = false # Change directory only when exiting via ^G.
|
--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).
|
# 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.
|
# Hard-coded to its respective behaviour in `nnn` source-code.
|
||||||
|
|
Loading…
Reference in a new issue