put completion include to the end

This commit is contained in:
Sebastian Tramp 2012-08-22 15:21:22 +02:00
parent e94c4958a8
commit 82bdb2b304
No known key found for this signature in database
GPG key ID: E8093B579D601B44
2 changed files with 3 additions and 2 deletions

View file

@ -15,7 +15,7 @@ export CLICOLOR=1
export LSCOLORS="gxfxcxdxbxegedabagacad" export LSCOLORS="gxfxcxdxbxegedabagacad"
# brew install zsh-completions # brew install zsh-completions
export fpath=(/usr/local/share/zsh-completions $fpath) export FPATH=/usr/local/share/zsh-completions:$FPATH
# activate gls colors # activate gls colors
if [[ -a $HOME/.dir_colors ]]; then if [[ -a $HOME/.dir_colors ]]; then

3
zshrc
View file

@ -10,7 +10,6 @@ sources+="$HOME/.zsh/options.zsh"
sources+="$HOME/.zsh/prompt.zsh" sources+="$HOME/.zsh/prompt.zsh"
sources+="$HOME/.zsh/functions.zsh" sources+="$HOME/.zsh/functions.zsh"
sources+="$HOME/.zsh/aliases.zsh" sources+="$HOME/.zsh/aliases.zsh"
sources+="$HOME/.zsh/completion.zsh"
# highlights the live command line # highlights the live command line
# Cloned From: git://github.com/nicoulaj/zsh-syntax-highlighting.git # 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 # Finally include the private.zsh file
sources+="$HOME/.zsh/private.zsh" sources+="$HOME/.zsh/private.zsh"
sources+="$HOME/.zsh/completion.zsh"
# try to include all sources # try to include all sources
foreach file (`echo $sources`) foreach file (`echo $sources`)
if [[ -a $file ]]; then if [[ -a $file ]]; then