aboutsummaryrefslogtreecommitdiffstats
path: root/src/nnn.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/nnn.c')
-rw-r--r--src/nnn.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/nnn.c b/src/nnn.c
index 9a92e96..5020e19 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;