mirror of
https://github.com/prdlk/dotfiles.git
synced 2026-11-02 19:32:43 +00:00
26 lines
510 B
TOML
26 lines
510 B
TOML
[metadata]
|
|||
|
|
name = "zoxide"
|
||
|
|
description = "Browse zoxide directory history"
|
||
|
|
requirements = ["zoxide"]
|
||
|
|
|
||
|
|
[source]
|
||
|
|
command = "zoxide query -l"
|
||
|
|
no_sort = true
|
||
|
|
frecency = false
|
||
|
|
|
||
|
|
[preview]
|
||
|
|
command = "ls -la --color=always '{}'"
|
||
|
|
|
||
|
|
[keybindings]
|
||
|
|
enter = "actions:cd"
|
||
|
|
ctrl-d = "actions:remove"
|
||
|
|
|
||
|
|
[actions.cd]
|
||
|
|
description = "Change to the selected directory"
|
||
|
|
command = "cd {} && $SHELL"
|
||
|
|
mode = "execute"
|
||
|
|
|
||
|
|
[actions.remove]
|
||
|
|
description = "Remove the selected directory from zoxide"
|
||
|
|
command = "zoxide remove {}"
|
||
|
|
mode = "fork"
|