summaryrefslogtreecommitdiff
path: root/shell
diff options
context:
space:
mode:
authorJunegunn Choi <junegunn.c@gmail.com>2015-04-23 22:43:48 +0900
committerJunegunn Choi <junegunn.c@gmail.com>2015-04-23 22:43:48 +0900
commit22ae7adac811ad5380718b29a1d7325bddf2cc6c (patch)
treefb7c5d91518af50521f96256c33d4cfac3a154c1 /shell
parent36924d0b1c7c8f01739316ed6e68c78c042e3973 (diff)
downloadfzf-22ae7adac811ad5380718b29a1d7325bddf2cc6c.tar.gz
Update completion for fzf itself
Diffstat (limited to 'shell')
-rw-r--r--shell/completion.bash8
1 files changed, 6 insertions, 2 deletions
diff --git a/shell/completion.bash b/shell/completion.bash
index 62dc140c..79160987 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