Skip to content

msysh/aws-cdk-zsh-completion

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

AWS CDK zsh completion

This is a zsh completion function for AWS CDK.

(日本語の情報 (for Japanese) : https://blog.msysh.me/posts/2023/06/cdk_zsh_completion.html)

Demo

Demonstration cdk zsh completion

Installation

If you use fpath in ~/.zshrc, store _cdk file in a directory which is specified by fpath. And then reload zsh such as exec -l $SHELL.

ex)

If in ~/.zshrc

  :
fpath=($fpath ~/.zsh/completion)
  :

Let's store _cdk file in ~/.zsh/completion

mv _cdk ~/.zsh/completion

And then

exec -l $SHELL

If it doesn't work, deleting ~/.zcompdump file may work

Reference

This topic is discussed at AWS CDK offical repo. I was inspired from it. aws/aws-cdk#24380 (comment)

License

MIT

About

This is a zsh completion function for AWS CDK.

Topics

Resources

License

Stars

Watchers

Forks