Skip to content
Myr

fix: generated completion invalid for fish shell (#837)

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by Raphael Amorim · committed by GitHub · parent bb9fee7 · Browse files · 1 file+1 added−1 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

1 file+1 added−1 removed

  • other:+1 added−1 removed

1 file+1 added−1 removed

modified:filter/options.go+1 added-1 removed
13 unmodified lines
14 IndicatorStyle style.Styles `embed:"" prefix:"indicator." set:"defaultForeground=212" envprefix:"GUM_FILTER_INDICATOR_"`15 Limit int `help:"Maximum number of options to pick" default:"1" group:"Selection"`16 NoLimit bool `help:"Pick unlimited number of options (ignores limit)" group:"Selection"`17 SelectIfOne bool `help:"Select the given option if there is only one" group:"Selection"`18 Selected []string `help:"Options that should start as selected (selects all if given '*')" default:"" env:"GUM_FILTER_SELECTED"`18 Selected []string `help:"Options that should start as selected (selects all if given *)" default:"" env:"GUM_FILTER_SELECTED"`19 ShowHelp bool `help:"Show help keybinds" default:"true" negatable:"" env:"GUM_FILTER_SHOW_HELP"`20 Strict bool `help:"Only returns if anything matched. Otherwise return Filter" negatable:"" default:"true" group:"Selection"`21 SelectedPrefix string `help:"Character to indicate selected items (hidden if limit is 1)" default:" ◉ " env:"GUM_FILTER_SELECTED_PREFIX"`22 SelectedPrefixStyle style.Styles `embed:"" prefix:"selected-indicator." set:"defaultForeground=212" envprefix:"GUM_FILTER_SELECTED_PREFIX_"`
25 unmodified lines