-
Hello, Noobie question, I'm not comfortable with the whole ZSH ecosystem, just a happy user. I'm on a M1 Mac, latest version of Below is my full .zshrc. Thanks 😄
|
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
Handling To get your custom completions to work I'd just add something like What you can also do with zinit is have it "manage" brew plugins ie. setup a NB: I never used brew :D |
Beta Was this translation helpful? Give feedback.
-
FWIW I have this in my zshrc. But it sounds like it could use a refactor. https://github.com/alichtman/dotfiles/blob/master/.config/zsh/.zshrc#L152 |
Beta Was this translation helpful? Give feedback.
Handling
fpath
is one of the main features of zinit. You can still mess around with it, sure - but I wouldn't advise to do so ;)To get your custom completions to work I'd just add something like
zinit creinstall -q /opt/homebrew/share/zsh/site-functions
(provided this is the path where brew stores these comps) to either a custom dummy (iezdharma-continuum/null
) pluginor directly to theatinit
of f-sy-h - where you are doing yourzicompinit
(not a good idea since this will run every time you spawn a shell)What you can also do with zinit is have it "manage" brew plugins ie. setup a
null
plugin which leverages theatclone
,atpull
andatdelete
ices, where you wouldbrew install $your_apps
,b…