Trying to deal with compinit on zsh from brew
This commit is contained in:
		@@ -7,7 +7,12 @@ for config_file ($ZDOTDIR/lib/30-*.zsh) source $config_file
 | 
			
		||||
(
 | 
			
		||||
#Initalize and compile completion cache
 | 
			
		||||
autoload -Uz compinit
 | 
			
		||||
compinit
 | 
			
		||||
 | 
			
		||||
if [ "$(id -u)" -ne 0 ]; then
 | 
			
		||||
  compinit  -i # Ignore insecure directories
 | 
			
		||||
else
 | 
			
		||||
  compinit
 | 
			
		||||
fi
 | 
			
		||||
 | 
			
		||||
## Compile startup files
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
@@ -10,6 +10,7 @@ WORDCHARS=''
 | 
			
		||||
 | 
			
		||||
zmodload -i zsh/complist
 | 
			
		||||
fpath=($fpath $ZDOTDIR/completions/)
 | 
			
		||||
fpath=($fpath /usr/local/share/zsh/)
 | 
			
		||||
fpath=($fpath /usr/local/share/zsh/site-functions/)
 | 
			
		||||
 | 
			
		||||
## case-insensitive (all),partial-word and then substring completion
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user