summaryrefslogtreecommitdiffstats
path: root/src/key_command/command.rs
diff options
context:
space:
mode:
authorChristoph Jabs <98587286+chrjabs@users.noreply.github.com>2024-04-03 21:28:18 +0300
committerGitHub <noreply@github.com>2024-04-03 14:28:18 -0400
commitd9496689e29d9aaa1d55ec9ca822d36ef895381d (patch)
tree1b91ab964a2c171176c1d4aacedaf4ec7a05638a /src/key_command/command.rs
parent2392951815447d2f1252fbd6ea7df23542c419cc (diff)
Zoxide related features (#506)HEADmain
* make `:z` act more like zoxide before checking the zoxide database, check if the query is a directory that can be navigated to as by `:cd` also interpret `~` and `-` correctly * optionally track all movement in zoxide Add new config option `zoxide_update` with default false. When manually enabled, all directory navigation (via manually navigating or `:cd` and `:z`) will update the `zoxide` database. Since navigation via `:z` always updates the database, ensure that it doesn't update it twice. * support arguments for zoxide interactive support for `:zi <args>` where arguments are used to prefilter the matches provided in the interactive zoxide prompt * allow command aliases with arguments note: only aliases that do not contain spaces can be used with arguments since either the entire command or only the first word are checked against the aliases
Diffstat (limited to 'src/key_command/command.rs')
-rw-r--r--src/key_command/command.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/key_command/command.rs b/src/key_command/command.rs
index 87ab74b..84e407e 100644
--- a/src/key_command/command.rs
+++ b/src/key_command/command.rs
@@ -191,7 +191,7 @@ pub enum Command {
processor: PostProcessor,
},
Zoxide(String),
- ZoxideInteractive,
+ ZoxideInteractive(String),
CustomSearch(Vec<String>),
CustomSearchInteractive(Vec<String>),