#! /bin/cat

_link_to_usr_local_gnu () {
    for f in $( (cd /usr/local; (cd bin; ls g*;) | ( ([[ -d gnu ]] || mkdir gnu); (cd gnu; sed -e s/^g//;) )) ); do
        [[ -f $f ]] || ln -s ../bin/g${f} $f
    done 2>/dev/null | tr '\n' ' '
}

prefer_gnu () {
    _link_to_usr_local_gnu
    export PATH=/usr/local/gnu:$PATH
}



Add functions for use on OS X
Add functions for use on OS X
