This is the first commit that brings the privet dotfiles to a public reop previously this was all one puppet module. Now this has been split out so I can put all of the private files in a private puppet module
22 lines
549 B
Bash
22 lines
549 B
Bash
#
|
|
# Overrode to he misc lib file to manipulate oh my zsh before the plugins are
|
|
# loaded. If you need to run code after the plugins you can see
|
|
# $ZSH_CUSTOM/custom.zsh
|
|
#
|
|
|
|
#
|
|
# Load in the original misc file
|
|
#
|
|
source $ZSH/lib/misc.zsh
|
|
|
|
#
|
|
# Add all of the plugins in the custom plugins dir automatically with out
|
|
# defining them in the pugins array
|
|
#
|
|
for plugin ($ZSH_CUSTOM/plugins/*); do
|
|
plugin_name="$(basename $plugin)"
|
|
if [[ ! -n "${plugins[(r)$plugin_name]}" ]]; then
|
|
plugins+=($plugin_name)
|
|
fi
|
|
done
|
|
unset plugin plugin_name
|