function zshlibs_update() { autoload zshlibs_log zshlibs_log zlibs_update "preparing self update …" if [[ -n "$zshlibs_install" ]] then zshlibs_log zlibs_update "cd into '$zshlibs_install' …" pushd $zshlibs_install 2>&1 > /dev/null zshlibs_log zlibs_update "git pull …" ( git pull 2>&1 |zshlibs_log zlibs_update & ) zshlibs_log zlibs_update "update done" popd 2>&1 > /dev/null else echo '$zshlibs_install not set!' return 1 zlibs_install fi }