summaryrefslogtreecommitdiffstats
path: root/src/verb
diff options
context:
space:
mode:
authorCanop <cano.petrole@gmail.com>2022-11-05 17:17:28 +0100
committerCanop <cano.petrole@gmail.com>2022-11-05 17:17:28 +0100
commit3f4659f44ce78da6dc29537c85623894b29c1157 (patch)
tree2eb5180ae2905e19d4077ebfa0f67d293f9074da /src/verb
parent1a7780ecc2d3a9b1a4a081f0146335fcbeb6774b (diff)
add "ol" shortcut on open_leave for dirs
for consistency See https://github.com/Canop/broot/issues/588#issuecomment-1304155283
Diffstat (limited to 'src/verb')
-rw-r--r--src/verb/builtin.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/verb/builtin.rs b/src/verb/builtin.rs
index e91ef8b..3646672 100644
--- a/src/verb/builtin.rs
+++ b/src/verb/builtin.rs
@@ -84,6 +84,7 @@ pub fn builtin_verbs() -> Vec<Verb> {
external("cd", "cd {directory}", FromParentShell)
.with_stype(SelectionType::Directory)
.with_key(key!(alt-enter))
+ .with_shortcut("ol")
.with_description("change directory and quit"),
#[cfg(unix)]