diff --git a/src/nnn.c b/src/nnn.c index 9a92e961..5020e19f 100644 --- a/src/nnn.c +++ b/src/nnn.c @@ -3670,8 +3670,9 @@ nochange: goto nochange; } - r == 's' ? archive_selection(tmp, path) - : spawn(utils[APACK], tmp, dents[cur].name, path, F_NORMAL); + (r == 'y' || r == 'Y') ? archive_selection(tmp, path) + : spawn(utils[APACK], tmp, dents[cur].name, + path, F_NORMAL); break; case SEL_OPENWITH: dir = NULL;