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)
|
plugins=(brew git github ruby)
|
||||||
|
|
||||||
# source every zsh file in user's custom/zsh/before. This is useful for setting theme and plugins.
|
# 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
|
if [[ -d $yadr/custom/zsh/ ]]; then
|
||||||
for config_file ($yadr/custom/zsh/before/**/*.zsh) source $config_file
|
for config_file ($yadr/custom/zsh/**/*.before.zsh) source $config_file
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Source oh-my-zsh
|
# Source oh-my-zsh
|
||||||
@ -54,8 +54,8 @@ fi
|
|||||||
# zsh/after
|
# zsh/after
|
||||||
# ==================
|
# ==================
|
||||||
# source every zsh file in user's custom/zsh/after.
|
# source every zsh file in user's custom/zsh/after.
|
||||||
if [[ -d $yadr/custom/zsh/after/ ]]; then
|
if [[ -d $yadr/custom/zsh/ ]]; then
|
||||||
for config_file ($yadr/custom/zsh/after/**/*.zsh) source $config_file
|
for config_file ($yadr/custom/zsh/**/*.after.zsh) source $config_file
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Put secret configuration settings in ~/.secrets
|
# Put secret configuration settings in ~/.secrets
|
||||||
|
Loading…
Reference in New Issue
Block a user