fix(zshrc): Allow loading local site-functions
Some programs install completion to `~/.local/zsh/site-functions` adding this path to `fpath` allows them to be loaded by `compinit`
This commit is contained in:
parent
7ad661267e
commit
ef86f64945
3
zshrc
3
zshrc
|
|
@ -24,6 +24,9 @@ autoload setTermTitle
|
|||
autoload tempPersist
|
||||
autoload has
|
||||
|
||||
## check for and load .local/share/zsh/site-functions
|
||||
[ -d "$HOME/.local/share/zsh/site-functions" ] && fpath=("$HOME/.local/share/zsh/site-functions" $fpath)
|
||||
|
||||
## Source Other files
|
||||
source ${ZDOTDIR}/aliases
|
||||
source ${ZDOTDIR}/dir_aliases
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user