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