(scripts) hopefully fixed fzf search for void linux
This commit is contained in:
@@ -23,7 +23,7 @@ function __search-history {
|
||||
READLINE_POINT=$((0 + ${#command}))
|
||||
}
|
||||
|
||||
if [[ "$-" == *i* ]] && which fzf &>/dev/null; then
|
||||
if [[ "$-" == *i* ]] && $(which fzf &>/dev/null); then
|
||||
bind -r "\C-r"
|
||||
bind -x '"\C-r": __search-history'
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user