summaryrefslogtreecommitdiffstats
path: root/src/verb/builtin.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/verb/builtin.rs')
-rw-r--r--src/verb/builtin.rs8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/verb/builtin.rs b/src/verb/builtin.rs
index fbfd66a..e4ff19a 100644
--- a/src/verb/builtin.rs
+++ b/src/verb/builtin.rs
@@ -19,8 +19,8 @@ pub fn builtin_verbs() -> Vec<Verb> {
.with_key(BACK_TAB)
.with_control_key('w'),
Verb::external(
- "copy {newpath}",
- "/bin/cp -r {file} {newpath:path-from-directory}",
+ "copy {newpath:path-from-parent}",
+ "/bin/cp -r {file} {newpath:path-from-parent}",
StayInBroot,
)
.unwrap()
@@ -44,8 +44,8 @@ pub fn builtin_verbs() -> Vec<Verb> {
.unwrap()
.with_shortcut("md"),
Verb::external(
- "move {newpath}",
- "/bin/mv {file} {newpath:path-from-directory}",
+ "move {newpath:path-from-parent}",
+ "/bin/mv {file} {newpath:path-from-parent}",
StayInBroot,
)
.unwrap()