Closed rieje closed 1 month ago
Try --select-1
instead.
Same behavior, get prompted with fzf on unique entry instead of jumping straight to it. fzf version 0.55.0.
_ZO_FZF_OPTS='--select-1'
eval "$(zoxide init --no-cmd zsh)"
alias z='__zoxide_zi'
# 'downloads' is the only entry from z
z downloads
_ZO_FZF_OPTS='--select-1'
You're setting a shell variable. The syntax for setting environment variables is different:
export _ZO_FZF_OPTS='--select-1'
fzf's
--bind one:accept
auto-selects entry when there's only one match (runecho 'a' | fzf --bind one:accept
and it won't show the interactive prompt). It doesn't seem to have any effect--launching__zoxide_zi
and inputting a 'downloads
' when 'downloads
' is a unique entry, it doesn't get auto-selected despite being the only match. Same goes with--zoxide_zi downloads
--fzf displays only one match but it doesn't get auto-selected.