mirror of
https://github.com/jarun/nnn.git
synced 2024-11-24 11:51:27 +00:00
Fix always archiving current file (#396)
This commit is contained in:
parent
cc36aa8d49
commit
809b1885fb
|
@ -5043,9 +5043,9 @@ nochange:
|
||||||
|
|
||||||
get_archive_cmd(cmd, tmp);
|
get_archive_cmd(cmd, tmp);
|
||||||
|
|
||||||
(r == 'y' || r == 'Y') ? archive_selection(cmd, tmp, path)
|
(r == 's') ? archive_selection(cmd, tmp, path)
|
||||||
: spawn(cmd, tmp, dents[cur].name,
|
: spawn(cmd, tmp, dents[cur].name,
|
||||||
path, F_NORMAL | F_MULTI);
|
path, F_NORMAL | F_MULTI);
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
case SEL_OPENWITH:
|
case SEL_OPENWITH:
|
||||||
|
|
Loading…
Reference in a new issue