From 90300c9754e6abe24e7422037529ce6829b95e77 Mon Sep 17 00:00:00 2001 From: mac10688 Date: Sun, 11 Oct 2015 18:58:59 -0500 Subject: [PATCH] Suggest the user prepend to the file path Suggest the user prepend the suggest new path to their existing file path to keep the terminal from finding outdated existing software first. --- install.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/install.md b/install.md index d8fe56e..2fae6c1 100644 --- a/install.md +++ b/install.md @@ -37,10 +37,10 @@ $ sudo apt-get update $ sudo apt-get install cabal-install-1.22 ghc-7.8.4 happy-1.19.5 alex-3.1.4 ``` -Then add the following to your `$PATH` (bash\_profile, zshrc, bashrc, etc): +Then prepend the following to your `$PATH` (bash\_profile, zshrc, bashrc, etc): ``` -~/.cabal/bin:/opt/cabal/1.22/bin:/opt/ghc/7.8.4/bin:/opt/happy/1.19.5/bin:/opt/alex/3.1.4/bin +export PATH=~/.cabal/bin:/opt/cabal/1.22/bin:/opt/ghc/7.8.4/bin:/opt/happy/1.19.5/bin:/opt/alex/3.1.4/bin:$PATH ``` *Optional:* You could also add `.cabal-sandbox/bin` to your path. Code that you