m/fzf
1
0
mirror of https://github.com/junegunn/fzf.git synced 2025-11-13 13:53:47 -05:00

Allow specifying fzf options in $FZF_TMUX_OPTS without '--'

This commit is contained in:
Junegunn Choi
2022-08-08 13:39:37 +09:00
parent 779d8e1627
commit 19f9bbca0d
3 changed files with 8 additions and 6 deletions

View File

@@ -1544,6 +1544,8 @@ func parseOptions(opts *Options, allArgs []string) {
opts.ClearOnExit = false
case "--version":
opts.Version = true
case "--":
// Ignored
default:
if match, value := optString(arg, "--algo="); match {
opts.FuzzyAlgo = parseAlgo(value)