Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: Where to put my own completions?




On 02/05/2022 12:31, Manfred Lotz wrote:
I have some completions outsided of packages. Once I decided to put those
completions into ~/.zfunc directory and define things like follows

fpath+=~/.zfunc
autoload -Uz compinit
zstyle ':completion:*' menu select
compinit


Question: Is there a recommended directory where to put completions into, or is
it just like "Do what you want!" ?


I have the following but I must have copied this from someone

# add custom completion scripts

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

zzapper






Messages sorted by: Reverse Date, Date, Thread, Author