Replace --header-file with --header (#346)

and allow using --header and --header-lines at the same time.

Close #346.
This commit is contained in:
Junegunn Choi
2015-09-15 19:04:53 +09:00
parent 65d9d416b4
commit 2022a3ad96
7 changed files with 71 additions and 45 deletions

View File

@@ -49,7 +49,7 @@ _fzf_opts_completion() {
--cycle
--history
--history-size
--header-file
--header
--header-lines
--margin"
@@ -62,7 +62,7 @@ _fzf_opts_completion() {
COMPREPLY=( $(compgen -W "dark light 16 bw" -- ${cur}) )
return 0
;;
--history|--header-file)
--history)
COMPREPLY=()
return 0
;;