Skip to content

Commit

Permalink
fix: zsh completion is now autoloadable (#1856)
Browse files Browse the repository at this point in the history
  • Loading branch information
gardenappl authored Feb 13, 2021
1 parent 169b815 commit d731f9f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/completion-templates.ts
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,8 @@ complete -o default -F _yargs_completions {{app_name}}
###-end-{{app_name}}-completions-###
`;

export const completionZshTemplate = `###-begin-{{app_name}}-completions-###
export const completionZshTemplate = `#compdef {{app_name}}
###-begin-{{app_name}}-completions-###
#
# yargs command completion script
#
Expand Down

0 comments on commit d731f9f

Please sign in to comment.