fix(zsh): use history command to include recent entries

This commit is contained in:
Kevin Turner 2025-03-12 18:04:17 -07:00 committed by Alexandre Pasmantier
parent ee89b36b42
commit 8c507bcfcb

View File

@ -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