+ zsh_command_not_found and better source include

This commit is contained in:
Sebastian Tramp 2010-12-28 20:48:15 +01:00
parent 1357d15838
commit 2bb3805d34

22
zshrc
View file

@ -4,11 +4,19 @@
# the main RC file (will be linked to ~/.zshrc) # the main RC file (will be linked to ~/.zshrc)
# #
source ~/.zsh/options typeset -ga sources
source ~/.zsh/prompt sources+="$HOME/.zsh/options"
source ~/.zsh/aliases sources+="$HOME/.zsh/prompt"
source ~/.zsh/functions sources+="$HOME/.zsh/functions"
source ~/.zsh/private sources+="$HOME/.zsh/private"
source ~/.zsh/completion sources+="$HOME/.zsh/aliases"
source ~/.zsh/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh sources+="$HOME/.zsh/completion"
sources+="$HOME/.zsh/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh"
sources+="/etc/zsh_command_not_found"
foreach file (`echo $sources`)
if [[ -a $file ]]; then
source $file
fi
end