Caveat: This was done as a quick-fix to aleviate my pain; There could be a better way to do this. Please do leave comments and suggestions.
This script is meant to be used as .bashrc, in order to make the transition from Linux to MacOS less painful. It makes available GNU tools and utils in your PATH so that they can be invoked effortlessly. It also allows you to leave an untainted terminal setup for anything very native to MacOS.
This script works in cooperation with the shell application (iTerm2 or another) to provide the "bootstrap hint" to decide whether to load native setup or the brew / GNU setup. This is done by configuring your favourite terminal app to load the bash version installed via brew, leaving the native Apple Terminal app unchanged. This allows for for anything that requires pristine Apple shell environment (for what ever reason), readily available.