summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorCanop <cano.petrole@gmail.com>2021-09-26 20:32:56 +0200
committerCanop <cano.petrole@gmail.com>2021-09-26 20:32:56 +0200
commit124605141e635dc5fb293895e042462edc825210 (patch)
tree01edd6ead15ab4635b50e66aaf2e712811e9fa7d /src
parent21671ef69a92e562ccbf5a2521243663819e065c (diff)
fix regression preventing cd on alt-enter in builtin
Diffstat (limited to 'src')
-rw-r--r--src/verb/builtin.rs6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/verb/builtin.rs b/src/verb/builtin.rs
index 08c38df..917832d 100644
--- a/src/verb/builtin.rs
+++ b/src/verb/builtin.rs
@@ -69,13 +69,13 @@ pub fn builtin_verbs() -> Vec<Verb> {
// those two operations are mapped on ALT-ENTER, one
// for directories and the other one for the other files
+ internal(open_leave) // calls the system open
+ .with_key(ALT_ENTER)
+ .with_shortcut("ol"),
external("cd", "cd {directory}", FromParentShell)
.with_stype(SelectionType::Directory)
.with_key(ALT_ENTER)
.with_description("change directory and quit"),
- internal(open_leave) // calls the system open
- .with_key(ALT_ENTER)
- .with_shortcut("ol"),
#[cfg(unix)]
external("chmod {args}", "chmod {args} {file}", StayInBroot)