Update completion for fzf itself

This commit is contained in:
Junegunn Choi 2015-04-23 22:43:48 +09:00
parent 36924d0b1c
commit 22ae7adac8

View File

@ -31,11 +31,11 @@ _fzf_opts_completion() {
--tiebreak
-m --multi
--no-mouse
+c --no-color
+2 --no-256
--color
--black
--reverse
--no-hscroll
--inline-info
--prompt
-q --query
-1 --select-1
@ -51,6 +51,10 @@ _fzf_opts_completion() {
COMPREPLY=( $(compgen -W "length begin end index" -- ${cur}) )
return 0
;;
--color)
COMPREPLY=( $(compgen -W "dark light 16 bw" -- ${cur}) )
return 0
;;
esac
if [[ ${cur} =~ ^-|\+ ]]; then