mirror of
https://github.com/alexpasmantier/television.git
synced 2025-06-07 12:05:34 +00:00
fix(zsh): use history command to include recent entries
This commit is contained in:
parent
ee89b36b42
commit
8c507bcfcb
@ -32,8 +32,7 @@ _tv_shell_history() {
|
|||||||
|
|
||||||
local output
|
local output
|
||||||
|
|
||||||
output=$(tv zsh-history --input "$current_prompt" $*)
|
output=$(history -n -1 0 | tv --input "$current_prompt" $*)
|
||||||
|
|
||||||
|
|
||||||
if [[ -n $output ]]; then
|
if [[ -n $output ]]; then
|
||||||
zle reset-prompt
|
zle reset-prompt
|
||||||
|
Loading…
x
Reference in New Issue
Block a user