From 82bdb2b3049a359b7dfd88b24e40245202eecdec Mon Sep 17 00:00:00 2001 From: Sebastian Tramp Date: Wed, 22 Aug 2012 15:21:22 +0200 Subject: [PATCH] put completion include to the end --- darwin.zsh | 2 +- zshrc | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/darwin.zsh b/darwin.zsh index 816cc55..ce01dd1 100644 --- a/darwin.zsh +++ b/darwin.zsh @@ -15,7 +15,7 @@ export CLICOLOR=1 export LSCOLORS="gxfxcxdxbxegedabagacad" # brew install zsh-completions -export fpath=(/usr/local/share/zsh-completions $fpath) +export FPATH=/usr/local/share/zsh-completions:$FPATH # activate gls colors if [[ -a $HOME/.dir_colors ]]; then diff --git a/zshrc b/zshrc index 0ea14d1..11c755e 100644 --- a/zshrc +++ b/zshrc @@ -10,7 +10,6 @@ sources+="$HOME/.zsh/options.zsh" sources+="$HOME/.zsh/prompt.zsh" sources+="$HOME/.zsh/functions.zsh" sources+="$HOME/.zsh/aliases.zsh" -sources+="$HOME/.zsh/completion.zsh" # highlights the live command line # Cloned From: git://github.com/nicoulaj/zsh-syntax-highlighting.git @@ -35,6 +34,8 @@ sources+="$HOME/.zsh/$systemFile.zsh" # Finally include the private.zsh file sources+="$HOME/.zsh/private.zsh" +sources+="$HOME/.zsh/completion.zsh" + # try to include all sources foreach file (`echo $sources`) if [[ -a $file ]]; then