nnn

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | README | LICENSE

commit 809b1885fb61b9f00d6c756966a131de9f2ad863
parent cc36aa8d49030e5b0d157166727cb8b1606949d2
Author: KlzXS <azszwymmvqdi@yahoo.com>
Date:   Wed,  4 Dec 2019 13:55:41 +0100

Fix always archiving current file (#396)


Diffstat:
Msrc/nnn.c | 6+++---
1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/src/nnn.c b/src/nnn.c @@ -5043,9 +5043,9 @@ nochange: get_archive_cmd(cmd, tmp); - (r == 'y' || r == 'Y') ? archive_selection(cmd, tmp, path) - : spawn(cmd, tmp, dents[cur].name, - path, F_NORMAL | F_MULTI); + (r == 's') ? archive_selection(cmd, tmp, path) + : spawn(cmd, tmp, dents[cur].name, + path, F_NORMAL | F_MULTI); break; } case SEL_OPENWITH: