zshlibs/zbootstrap.zsh
2024-01-18 16:19:56 +04:00

18 lines
435 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/)