Merge pull request #1982 from BeyondMagic/master

fix(quitcd.nu): specify signature in/out of command
This commit is contained in:
Arun Prakash Jana 2025-01-12 08:42:55 +05:30 committed by GitHub
commit c022a02493
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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.