Skip to content

Commit

Permalink
add haskell ghc binaries to $PATH
Browse files Browse the repository at this point in the history
  • Loading branch information
iffyuva committed Sep 4, 2015
1 parent 54a3dea commit f1f60a8
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 0 deletions.
8 changes: 8 additions & 0 deletions bashrc
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,14 @@ if [ -e "$MYDOTFILES/shell.d/alias" ]; then
fi


# haskell ghc stuff
export GHC_DOT_APP="/Applications/ghc.app"
if [ -d "$GHC_DOT_APP" ]; then
export PATH="${GHC_DOT_APP}/Contents/bin:${PATH}"
export PATH="${HOME}/.local/bin:${HOME}/.cabal/bin:${PATH}"
fi


# nvm stuff
# do `nvm alias default iojs` so that nvm has default iojs version
export NVM_DIR="/Users/yuva/.nvm"
Expand Down
8 changes: 8 additions & 0 deletions zshrc
Original file line number Diff line number Diff line change
Expand Up @@ -163,6 +163,14 @@ fi
PATH=$PATH:/usr/texbin


# haskell ghc stuff
export GHC_DOT_APP="/Applications/ghc.app"
if [ -d "$GHC_DOT_APP" ]; then
export PATH="${GHC_DOT_APP}/Contents/bin:${PATH}"
export PATH="${HOME}/.local/bin:${HOME}/.cabal/bin:${PATH}"
fi


# nvm stuff
# do `nvm alias default iojs` so that nvm has default iojs version
export NVM_DIR="/Users/yuva/.nvm"
Expand Down

0 comments on commit f1f60a8

Please sign in to comment.