simplifying paths for zsh customization.
This commit is contained in:
parent
704b242e2d
commit
f6549f64f8
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user