12 lines
236 B
Bash
12 lines
236 B
Bash
REPO_BASE_DIR="${REPO_BASE_DIR:-$HOME/repos}"
|
|
|
|
for script in "${0:A:h}/functions/"*.zsh; do
|
|
source "$script"
|
|
done
|
|
|
|
if [[ -d "${0:A:h}/completion" ]]; then
|
|
fpath=("${0:A:h}/completion" $fpath)
|
|
autoload -Uz compinit && compinit
|
|
fi
|
|
|