Skip to content

Commit 92186af

Browse files
committed
Remove completion setup check
1 parent 65b66ec commit 92186af

File tree

1 file changed

+0
-11
lines changed

1 file changed

+0
-11
lines changed

install

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -400,7 +400,6 @@ if [[ $shells =~ fish ]]; then
400400
lno_func=$(\grep -nF "function fish_user_key_bindings" "$bind_file" | sed 's/:.*//' | tr '\n' ' ')
401401
fi
402402
lno_keys=$(\grep -nF "fzf_key_bindings" "$bind_file" | sed 's/:.*//' | tr '\n' ' ')
403-
lno_comp=$(\grep -nF "fzf_completion_setup" "$bind_file" | sed 's/:.*//' | tr '\n' ' ')
404403
if [[ -n $lno_keys ]]; then
405404
echo " ** Found 'fzf_key_bindings' in line #$lno_keys"
406405
if [[ $key_bindings -eq 1 && $auto_completion -eq 1 ]]; then
@@ -411,16 +410,6 @@ if [[ $shells =~ fish ]]; then
411410
echo " ** You have to remove the line"
412411
fi
413412
echo
414-
elif [[ -n $lno_comp ]]; then
415-
echo " ** Found 'fzf_completion_setup' in line #$lno_comp"
416-
if [[ $key_bindings -eq 1 && $auto_completion -eq 1 ]]; then
417-
echo " ** You have to replace the line to 'fzf --fish | source'"
418-
elif [[ $auto_completion -eq 1 ]]; then
419-
echo " ** You have to replace the line to '$fzf_completion'"
420-
else
421-
echo " ** You have to remove the line"
422-
fi
423-
echo
424413
else
425414
echo " - Clear"
426415
echo

0 commit comments

Comments
 (0)