zshlibs/zbootstrap.zsh

15 lines
407 B
Bash
Raw Normal View History

2021-11-10 14:41:19 +00:00
if [[ -n ${GLOBALDOTS_PATH} ]]
then
typeset -g globaldots_path=${GLOBALDOTS_PATH}
else
if [[ -a $(realpath -m $(dirname $0)/../../.globaldir ) ]]
then
typeset -g globaldots_path=$(realpath -m $(dirname $0)/../../)
else
typeset -g globaldots_path="${GLOBALDOTS_PATH:-${HOME}/.global}"
fi
fi
source ${globaldots_path}/lib/zsh/global.funcs.zsh
source ${globaldots_path}/lib/zsh/zssh.funcs.zsh