Created
September 21, 2014 19:05
-
-
Save ChristopherBiscardi/00ef2342253e97fae70a to your computer and use it in GitHub Desktop.
Switching GHC Versions
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ghc783(){ | |
# Add GHC 7.8.3 to the PATH, via http://ghcformacosx.github.io/ | |
export GHC_DOT_APP_7_8_3="/Applications/ghc-7.8.3.app" | |
if [ -d "$GHC_DOT_APP_7_8_3" ]; then | |
export PATH="${HOME}/.cabal/bin:${GHC_DOT_APP_7_8_3}/Contents/bin:${PATH}" | |
fi | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment