Skip to content
Myr

Minor typo fix in bash completion template

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

authored by Robert Bost · committed by Robert Bost · parent c3eac6b · 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
24 unmodified lines
25 %(autocomplete_var)s=complete $1 ) )26 return 027}2829%(complete_func)setup() {29%(complete_func)s_setup() {30 local COMPLETION_OPTIONS=""31 local BASH_VERSION_ARR=(${BASH_VERSION//./ })32 # Only BASH version 4.4 and later have the nosort option.33 if [ ${BASH_VERSION_ARR[0]} -gt 4 ] || ([ ${BASH_VERSION_ARR[0]} -eq 4 ] \
3 unmodified lines
3738 complete $COMPLETION_OPTIONS -F %(complete_func)s %(script_names)s39}4041%(complete_func)setup41%(complete_func)s_setup42"""4344COMPLETION_SCRIPT_ZSH = """45#compdef %(script_names)s
330 unmodified lines