18 lines
434 B
Bash
18 lines
434 B
Bash
function zlibs_install()
|
|
{
|
|
git clone --branch master https://git.brass.host/tea/zshlibs.git "${HOME}/.local/zshlibs"
|
|
}
|
|
if [[ -z ${zshlibs_install} ]]
|
|
then
|
|
typeset -g zshlibs_install="${HOME}/.local/zshlibs"
|
|
fi
|
|
if ! [[ -d ${zshlibs_install} ]]
|
|
then
|
|
zlibs_install
|
|
fi
|
|
source ${zshlibs_install}/tools.funcs.zsh
|
|
|
|
source ${zshlibs_install}/zconfig.funcs.zsh
|
|
source ${zshlibs_install}/global.funcs.zsh
|
|
fpath+=(${zshlibs_install}/zssh)
|