mirror of
https://github.com/jarun/nnn.git
synced 2024-11-24 20:01:27 +00:00
Fix always archiving current file (#396)
This commit is contained in:
parent
cc36aa8d49
commit
809b1885fb
|
@ -5043,7 +5043,7 @@ 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;
|
||||||
|
|
Loading…
Reference in a new issue