mirror of
https://github.com/alexpasmantier/television.git
synced 2025-06-06 19:45:23 +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
|
||||
|
||||
output=$(tv zsh-history --input "$current_prompt" $*)
|
||||
|
||||
output=$(history -n -1 0 | tv --input "$current_prompt" $*)
|
||||
|
||||
if [[ -n $output ]]; then
|
||||
zle reset-prompt
|
||||
|
Loading…
x
Reference in New Issue
Block a user