From 22ae7adac811ad5380718b29a1d7325bddf2cc6c Mon Sep 17 00:00:00 2001 From: Junegunn Choi Date: Thu, 23 Apr 2015 22:43:48 +0900 Subject: [PATCH] Update completion for fzf itself --- shell/completion.bash | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/shell/completion.bash b/shell/completion.bash index 62dc140..7916098 100644 --- a/shell/completion.bash +++ b/shell/completion.bash @@ -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