function zshlibs_fpath_add() { local fpathtoadd="${1}" zshlibs_log $0 "adding fpath '$fpathtoadd' to \$fpath" if [[ ! ${fpath[(r)${fpathtoadd}]} ]] then path+=(${fpathtoadd}) fi }