zsh: use session filtering for prefix history search

This commit is contained in:
Daniel Lundin 2024-03-24 15:10:07 +01:00
parent 1bde039e24
commit 819686b44f

View file

@ -13,6 +13,7 @@ function my-history-prefix-search() {
(($offset < 0)) && return
local result=$(
atuin search \
--filter-mode session \
--search-mode prefix \
--limit 1 \
--offset $offset \