Skip to content
Myr

Merge pull request #1518 from bostrt/patch-1

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

Minor typo fix in bash completion template

authored by Jay Crotts · committed by GitHub · parents 593db27, 15b4418 · Browse files · 1 file+2 added−2 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+2 added−2 removed

  • other:+2 added−2 removed

1 file+2 added−2 removed

modified:src/click/_bashcomplete.py+2 added-2 removed
20 unmodified lines
21 %(autocomplete_var)s=complete $1 ) )22 return 023}2425%(complete_func)setup() {25%(complete_func)s_setup() {26 local COMPLETION_OPTIONS=""27 local BASH_VERSION_ARR=(${BASH_VERSION//./ })28 # Only BASH version 4.4 and later have the nosort option.29 if [ ${BASH_VERSION_ARR[0]} -gt 4 ] || ([ ${BASH_VERSION_ARR[0]} -eq 4 ] \
3 unmodified lines
3334 complete $COMPLETION_OPTIONS -F %(complete_func)s %(script_names)s35}3637%(complete_func)setup37%(complete_func)s_setup38"""3940COMPLETION_SCRIPT_ZSH = """41#compdef %(script_names)s
330 unmodified lines