confz

git mirror of https://ccx.te2000.cz/bzr/confz
git clone https://ccx.te2000.cz/git/confz
Log | Files | Refs

confz_auto_init (237B)


      1 # vim: ft=zsh noet ts=4 sts=4 sw=4
      2 
      3 #
      4 # confz functions for dependency autodiscovery
      5 #
      6 
      7 
      8 confz_auto_check() {
      9 	local f
     10 	for f in ${(k)functions}; do
     11 		if [[ $f == confz_auto_*_check ]]; then
     12 			require ${${f#confz_}%_check}
     13 		fi
     14 	done
     15 }