15 lines
407 B
Bash
15 lines
407 B
Bash
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
|