#!/bin/bash for file in ~/.devenv/*; do if [ -d $file ]; then if [ -d $file/bin ]; then PATH=`(cd $file/bin && pwd)`:$PATH fi fi done export PATH