2021-12-20 14:08:22 +00:00
|
|
|
function zlibs_install()
|
|
|
|
{
|
2023-12-15 19:12:34 +00:00
|
|
|
git clone --branch master https://git.brass.host/tea/zshlibs.git "${HOME}/.local/zshlibs"
|
2022-11-01 13:08:00 +00:00
|
|
|
}
|
2021-12-20 14:08:22 +00:00
|
|
|
if [[ -z ${zshlibs_install} ]]
|
2021-11-10 14:41:19 +00:00
|
|
|
then
|
2021-12-20 14:08:22 +00:00
|
|
|
typeset -g zshlibs_install="${HOME}/.local/zshlibs"
|
|
|
|
fi
|
|
|
|
if ! [[ -d ${zshlibs_install} ]]
|
2021-11-10 14:41:19 +00:00
|
|
|
then
|
2021-12-20 14:08:22 +00:00
|
|
|
zlibs_install
|
|
|
|
fi
|
2022-01-11 16:41:36 +00:00
|
|
|
source ${zshlibs_install}/tools.funcs.zsh
|
2021-11-10 14:41:19 +00:00
|
|
|
|
2022-01-11 16:41:36 +00:00
|
|
|
source ${zshlibs_install}/zconfig.funcs.zsh
|
2021-12-20 14:08:22 +00:00
|
|
|
source ${zshlibs_install}/global.funcs.zsh
|
2024-01-18 12:39:51 +00:00
|
|
|
source ${zshlibs_install}/zssh.zsh
|