mirror of
https://github.com/sxyazi/yazi.git
synced 2026-07-25 08:41:05 +00:00
..
This commit is contained in:
parent
a62f6c5a35
commit
4129537916
1 changed files with 2 additions and 2 deletions
|
|
@ -98,7 +98,7 @@ impl Executor {
|
|||
"open" => cx.manager.open(exec.named.contains_key("interactive")),
|
||||
"yank" => cx.manager.yank(exec.named.contains_key("cut")),
|
||||
"paste" => {
|
||||
let dest = cx.manager.cwd().to_owned();
|
||||
let dest = cx.manager.cwd();
|
||||
let (cut, src) = cx.manager.yanked();
|
||||
|
||||
let force = exec.named.contains_key("force");
|
||||
|
|
@ -113,7 +113,7 @@ impl Executor {
|
|||
!cut
|
||||
&& cx.tasks.file_link(
|
||||
src,
|
||||
cx.manager.cwd().to_owned(),
|
||||
cx.manager.cwd(),
|
||||
exec.named.contains_key("relative"),
|
||||
exec.named.contains_key("force"),
|
||||
)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue