summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorAlan Pearce2013-10-31 21:50:15 +0000
committerAlan Pearce2013-10-31 21:52:14 +0000
commit6d996c60ff93d5c9ff01015e89b5932eb190eafc (patch)
tree6aca18179201e1d9f1a8ec66b30d47d27da97c3b
parentac2ffde265b616d60a56b7b806fef85368bd3d25 (diff)
downloadnixfiles-6d996c60ff93d5c9ff01015e89b5932eb190eafc.tar.lz
nixfiles-6d996c60ff93d5c9ff01015e89b5932eb190eafc.tar.zst
nixfiles-6d996c60ff93d5c9ff01015e89b5932eb190eafc.zip
zsh: Add zsh-completions to fpath
-rwxr-xr-xzsh/zshrc4
1 files changed, 4 insertions, 0 deletions
diff --git a/zsh/zshrc b/zsh/zshrc
index 6fe27db7..c30c4635 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"