now= at=-1 link=( )
while [[ -v bind[++at] ]]
do now=${bind[at]}
 [[ ! -e $now ]] && continue
 [[ -d $now ]] && { bind+=( "$now"/* ) ; continue ; }
 link+=( "${now##*/}=$( <"$now" )" )
done
[[ -v link[0] ]] && alias -- "${link[@]}"
 

