mirror of
https://github.com/prdlk/dotfiles.git
synced 2026-11-02 19:32:43 +00:00
17 lines
384 B
TOML
17 lines
384 B
TOML
[metadata]
|
|
name = "zsh-history"
|
|
description = "A channel to select from your zsh history"
|
|
requirements = ["zsh"]
|
|
|
|
[source]
|
|
command = "sed '1!G;h;$!d' ${HISTFILE:-${HOME}/.zsh_history}"
|
|
display = "{split:;:1..}"
|
|
output = "{split:;:1..}"
|
|
no_sort = true
|
|
frecency = false
|
|
|
|
[actions.execute]
|
|
description = "Execute the selected command"
|
|
command = "zsh -c '{split:;:1..}'"
|
|
mode = "execute"
|