Prezto: Awscli autocomple is not working

Created on 12 May 2016  路  3Comments  路  Source: sorin-ionescu/prezto

Hi, I am using prezto with zsh 5.2 on OSX. When i install awscli using homebrew, they copy an autocomplete file to /usr/local/share/zsh/site-functions/_aws. But look like prezto not source it by default, i need to manually run source /usr/local/share/zsh/site-functions/_aws to make it working.
I already enable module completion, other command like git and brew have autocomplete correctly.
Can you help me see where is the problem?

Discussion

Most helpful comment

Tried it but it isn't working. I already have /usr/local/share/zsh/site-functions in my fpath, other completion in that folder works fine except for aws.

All 3 comments

add the following line to your ~/.zshrc file,
fpath=(/usr/local/share/zsh/site-functions $fpath)

and then execute the following commands,

% rm -f ~/.zcompdump; compinit

Tried it but it isn't working. I already have /usr/local/share/zsh/site-functions in my fpath, other completion in that folder works fine except for aws.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

jeffwidman picture jeffwidman  路  3Comments

sjackman picture sjackman  路  6Comments

lokesh-krishna picture lokesh-krishna  路  5Comments

kud picture kud  路  3Comments

daiyanze picture daiyanze  路  4Comments