summary refs log tree commit diff stats
path: root/zsh/zshrc
diff options
context:
space:
mode:
authorAlan Pearce2013-10-31 21:50:15 +0000
committerAlan Pearce2013-10-31 21:52:14 +0000
commit6d996c60ff93d5c9ff01015e89b5932eb190eafc (patch)
tree6aca18179201e1d9f1a8ec66b30d47d27da97c3b /zsh/zshrc
parentac2ffde265b616d60a56b7b806fef85368bd3d25 (diff)
downloaddotfiles-6d996c60ff93d5c9ff01015e89b5932eb190eafc.tar.lz
dotfiles-6d996c60ff93d5c9ff01015e89b5932eb190eafc.tar.zst
dotfiles-6d996c60ff93d5c9ff01015e89b5932eb190eafc.zip
zsh: Add zsh-completions to fpath
Diffstat (limited to 'zsh/zshrc')
-rwxr-xr-xzsh/zshrc4
1 files changed, 4 insertions, 0 deletions
diff --git a/zsh/zshrc b/zsh/zshrc
index 6fe27db..c30c463 100755
--- a/zsh/zshrc
+++ b/zsh/zshrc
@@ -30,6 +30,10 @@ fpath=(
 	~alan/projects/dotfiles/zsh/completion/
 	$fpath
 )
+if [[ -d /usr/local/share/zsh-completions ]]
+then
+	fpath=(/usr/local/share/zsh-completions $fpath)
+fi
 
 export PATH
 export PAGER="less"