+ zsh_command_not_found and better source include
This commit is contained in:
parent
1357d15838
commit
2bb3805d34
22
zshrc
22
zshrc
|
@ -4,11 +4,19 @@
|
|||
# the main RC file (will be linked to ~/.zshrc)
|
||||
#
|
||||
|
||||
source ~/.zsh/options
|
||||
source ~/.zsh/prompt
|
||||
source ~/.zsh/aliases
|
||||
source ~/.zsh/functions
|
||||
source ~/.zsh/private
|
||||
source ~/.zsh/completion
|
||||
source ~/.zsh/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh
|
||||
typeset -ga sources
|
||||
sources+="$HOME/.zsh/options"
|
||||
sources+="$HOME/.zsh/prompt"
|
||||
sources+="$HOME/.zsh/functions"
|
||||
sources+="$HOME/.zsh/private"
|
||||
sources+="$HOME/.zsh/aliases"
|
||||
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
|
||||
|
||||
|
|
Loading…
Reference in a new issue