How can I set the PATH variable to check both?
This is one way, not necessarily the best way
items=(
/Library/Frameworks/Python.framework/Versions/2.7/bin
/usr/local/smlnj-110.74/bin
/opt/local/bin
)
for item in ${items[*]}
do
PATH=${item}:${PATH}
done
export PATH
Why does Petite Chez Scheme require no PATH or environment variable settings?
Perhaps it installs to a standard location, such as
/bin
, /usr/bin
, /usr/local/bin