simplifying paths for zsh customization.

This commit is contained in:
Kyle West 2012-01-31 12:21:57 -05:00
parent 704b242e2d
commit f6549f64f8
4 changed files with 4 additions and 4 deletions

View File

@ -21,8 +21,8 @@ if [[ -d $HOME/.oh-my-zsh ]]; then
plugins=(brew git github ruby)
# source every zsh file in user's custom/zsh/before. This is useful for setting theme and plugins.
if [[ -d $yadr/custom/zsh/before/ ]]; then
for config_file ($yadr/custom/zsh/before/**/*.zsh) source $config_file
if [[ -d $yadr/custom/zsh/ ]]; then
for config_file ($yadr/custom/zsh/**/*.before.zsh) source $config_file
fi
# Source oh-my-zsh
@ -54,8 +54,8 @@ fi
# zsh/after
# ==================
# source every zsh file in user's custom/zsh/after.
if [[ -d $yadr/custom/zsh/after/ ]]; then
for config_file ($yadr/custom/zsh/after/**/*.zsh) source $config_file
if [[ -d $yadr/custom/zsh/ ]]; then
for config_file ($yadr/custom/zsh/**/*.after.zsh) source $config_file
fi
# Put secret configuration settings in ~/.secrets