fix(completions/zsh.rs): Add missing autoload for is-at-least

This commit is contained in:
Segev Finer 2018-01-15 20:19:36 +02:00
parent e077e0c930
commit a652260795
2 changed files with 8 additions and 0 deletions

View file

@ -31,6 +31,8 @@ impl<'a, 'b> ZshGen<'a, 'b> {
"\
#compdef {name}
autoload -U is-at-least
_{name}() {{
typeset -A opt_args
typeset -a _arguments_options

View file

@ -89,6 +89,8 @@ complete -F _myapp -o bashdefault -o default myapp
static ZSH: &'static str = r#"#compdef myapp
autoload -U is-at-least
_myapp() {
typeset -A opt_args
typeset -a _arguments_options
@ -387,6 +389,8 @@ static POWERSHELL_SPECIAL_CMDS: &'static str = r#"
static ZSH_SPECIAL_CMDS: &'static str = r#"#compdef my_app
autoload -U is-at-least
_my_app() {
typeset -A opt_args
typeset -a _arguments_options
@ -673,6 +677,8 @@ complete -c my_app -n "__fish_using_command my_app" -s V -l version -d 'Prints v
static ZSH_SPECIAL_HELP: &'static str = r#"#compdef my_app
autoload -U is-at-least
_my_app() {
typeset -A opt_args
typeset -a _arguments_options