mirror of
https://github.com/prdlk/television.git
synced 2026-11-02 13:12:51 +00:00
16 lines
384 B
TOML
16 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"
|