Prezto: how add zsh completion folder ?

Created on 24 Jan 2019  路  7Comments  路  Source: sorin-ionescu/prezto

i'm using mac, and every time i use brew to install a program,
zsh completion are put in /usr/local/share/zsh/site-functions

how we can use them ?

thanks

Most helpful comment

@thezjy it seem to be working, have you opened another tab after that,
maybe you need to type:

rm -f ~/.zcompdump; compinit
autoload -U compinit && compinit
exec zsh

source

All 7 comments

see variable fpath

fpath=("/usr/local/share/zsh/site-functions" $fpath)

@souhaiebtar Does it work for you? I added that path to fpath but the completion still doesn't work.

@thezjy sorry for that, i think it does not work, i'm not quite sure, i will try to verify more

@thezjy it seem to be working, have you opened another tab after that,
maybe you need to type:

rm -f ~/.zcompdump; compinit
autoload -U compinit && compinit
exec zsh

source

@souhaiebtar It works! Thanks so much!

@thezjy y r welcome, good for you

Was this page helpful?
0 / 5 - 0 ratings

Related issues

askurihin picture askurihin  路  5Comments

mischaboldy picture mischaboldy  路  3Comments

EllieRagone picture EllieRagone  路  4Comments

lokesh-krishna picture lokesh-krishna  路  5Comments

brycekellogg picture brycekellogg  路  4Comments