Updated loadable modules for local zsh/dotbot

This commit is contained in:
Eric Renfro 2018-06-05 14:05:39 -04:00
parent 29f1d8d07e
commit 916bb6a0cf
Signed by untrusted user who does not match committer: psi-jack
GPG key ID: 14977F3A50D9A5BF
2 changed files with 11 additions and 0 deletions

View file

@ -12,3 +12,9 @@ cd "${BASEDIR}"
git submodule update --init --recursive "${DOTBOT_DIR}"
"${BASEDIR}/${DOTBOT_DIR}/${DOTBOT_BIN}" -d "${BASEDIR}" -c "${CONFIG}" "${@}"
# Run local dotbot if any
if [[ -r "${HOME}/.local/dotfiles/local.conf.yaml" ]]; then
"${BASEDIR}/${DOTBOT_DIR}/${DOTBOT_BIN}" -d "${HOME}/.local/dotfiles" -c "local.conf.yaml" "${@}"
fi

5
zshrc
View file

@ -38,3 +38,8 @@ fi
# Disable Ctrl+S Scroll-Locking
stty -ixon
# Include local functions/aliases/environments:
while read file; do
source "$file"
done < <(find "${HOME}/.local/dotfiles/" -type f -name '*.zsh')