(scripts) hopefully fixed fzf search for void linux

This commit is contained in:
2026-06-28 00:15:25 +02:00
parent 85c0cd8691
commit ada0604178
+1 -1
View File
@@ -23,7 +23,7 @@ function __search-history {
READLINE_POINT=$((0 + ${#command})) READLINE_POINT=$((0 + ${#command}))
} }
if [[ "$-" == *i* ]] && which fzf &>/dev/null; then if [[ "$-" == *i* ]] && $(which fzf &>/dev/null); then
bind -r "\C-r" bind -r "\C-r"
bind -x '"\C-r": __search-history' bind -x '"\C-r": __search-history'
fi fi