Updated loadable modules for local zsh/dotbot
This commit is contained in:
parent
29f1d8d07e
commit
916bb6a0cf
2 changed files with 11 additions and 0 deletions
6
install
6
install
|
@ -12,3 +12,9 @@ cd "${BASEDIR}"
|
||||||
git submodule update --init --recursive "${DOTBOT_DIR}"
|
git submodule update --init --recursive "${DOTBOT_DIR}"
|
||||||
|
|
||||||
"${BASEDIR}/${DOTBOT_DIR}/${DOTBOT_BIN}" -d "${BASEDIR}" -c "${CONFIG}" "${@}"
|
"${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
5
zshrc
|
@ -38,3 +38,8 @@ fi
|
||||||
# Disable Ctrl+S Scroll-Locking
|
# Disable Ctrl+S Scroll-Locking
|
||||||
stty -ixon
|
stty -ixon
|
||||||
|
|
||||||
|
# Include local functions/aliases/environments:
|
||||||
|
while read file; do
|
||||||
|
source "$file"
|
||||||
|
done < <(find "${HOME}/.local/dotfiles/" -type f -name '*.zsh')
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue