From 8c507bcfcbb67563d3796b17f3e1c57efe367c32 Mon Sep 17 00:00:00 2001 From: Kevin Turner <83819+keturn@users.noreply.github.com> Date: Wed, 12 Mar 2025 18:04:17 -0700 Subject: [PATCH] fix(zsh): use history command to include recent entries --- television/utils/shell/completion.zsh | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/television/utils/shell/completion.zsh b/television/utils/shell/completion.zsh index 885b503..ab0255b 100644 --- a/television/utils/shell/completion.zsh +++ b/television/utils/shell/completion.zsh @@ -32,8 +32,7 @@ _tv_shell_history() { local output - output=$(tv zsh-history --input "$current_prompt" $*) - + output=$(history -n -1 0 | tv --input "$current_prompt" $*) if [[ -n $output ]]; then zle reset-prompt