mirror of
https://github.com/joshskidmore/zsh-fzf-history-search.git
synced 2026-09-10 07:06:21 -04:00
Merge pull request #39 from haxibami/fix-not-equal-again
fix arithmetic operation again
This commit is contained in:
commit
b5a9da8b8b
|
|
@ -68,7 +68,7 @@ fzf_history_search() {
|
|||
|
||||
local ret=$?
|
||||
if [ -n "$candidates" ]; then
|
||||
if (( ! $CANDIDATE_LEADING_FIELDS == 1 )); then
|
||||
if (( $CANDIDATE_LEADING_FIELDS != 1 )); then
|
||||
BUFFER="${candidates[@]/(#m)[0-9 \-\:]##/$(
|
||||
printf '%s' "${${(As: :)MATCH}[${CANDIDATE_LEADING_FIELDS},-1]}" | sed 's/%/%%/g'
|
||||
)}"
|
||||
|
|
|
|||
Loading…
Reference in a new issue