Prepare for 0.9.9 release

This commit is contained in:
Junegunn Choi
2015-04-16 14:20:29 +09:00
parent b8904a8c3e
commit d08542ce5d
7 changed files with 27 additions and 7 deletions
+13 -1
View File
@@ -16,9 +16,10 @@ _fzf_orig_completion_filter() {
}
_fzf_opts_completion() {
local cur opts
local cur prev opts
COMPREPLY=()
cur="${COMP_WORDS[COMP_CWORD]}"
prev="${COMP_WORDS[COMP_CWORD-1]}"
opts="
-x --extended
-e --extended-exact
@@ -27,20 +28,31 @@ _fzf_opts_completion() {
-d --delimiter
+s --no-sort
--tac
--tiebreak
-m --multi
--no-mouse
+c --no-color
+2 --no-256
--black
--reverse
--no-hscroll
--prompt
-q --query
-1 --select-1
-0 --exit-0
-f --filter
--print-query
--expect
--toggle-sort
--sync"
case "${prev}" in
--tiebreak)
COMPREPLY=( $(compgen -W "length begin end index" -- ${cur}) )
return 0
;;
esac
if [[ ${cur} =~ ^-|\+ ]]; then
COMPREPLY=( $(compgen -W "${opts}" -- ${cur}) )
return 0