rename yank-delete-put to copy-cut-paste
This commit is contained in:
1 parent
b67b042d43
commit
d987c9e439
11 files changed
+63
-69
No files matched your search
@@ -70,11 +70,11 @@ func shellCommand(s string, args []string) *exec.Cmd {
|
||||
return exec.Command(gOpts.shell, args...)
|
||||
}
|
||||
|
||||
func putCommand(list []string, dir *dir, copy bool) *exec.Cmd {
|
||||
func pasteCommand(list []string, dir *dir, cp bool) *exec.Cmd {
|
||||
var sh string
|
||||
var args []string
|
||||
|
||||
if copy {
|
||||
if cp {
|
||||
sh = "cp"
|
||||
args = append(args, "-R")
|
||||
} else {
|
||||
|
||||
Reference in new issue
Block a user