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