Merge pull request #39 from haxibami/fix-not-equal-again
fix arithmetic operation again
This commit is contained in:
@@ -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'
|
||||
)}"
|
||||
|
||||
Reference in New Issue
Block a user