Update widget
This commit is contained in:
parent
d8aacb4a80
commit
b85cb770d3
1 changed files with 10 additions and 1 deletions
|
@ -16,7 +16,16 @@ _atuin_precmd(){
|
|||
}
|
||||
|
||||
_atuin_search(){
|
||||
$(atuin history list --distinct | $ATUIN_FUZZY)
|
||||
emulate -L zsh
|
||||
zle -I
|
||||
|
||||
output=$(atuin history list --distinct | $ATUIN_FUZZY)
|
||||
|
||||
if [[ -n $output ]] ; then
|
||||
LBUFFER=$output
|
||||
fi
|
||||
|
||||
zle reset-prompt
|
||||
}
|
||||
|
||||
add-zsh-hook preexec _atuin_preexec
|
||||
|
|
Loading…
Reference in a new issue