Skip to content

Commit 90300c9

Browse files
committed
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.
1 parent d7abf7a commit 90300c9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

install.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,10 +37,10 @@ $ sudo apt-get update
3737
$ sudo apt-get install cabal-install-1.22 ghc-7.8.4 happy-1.19.5 alex-3.1.4
3838
```
3939

40-
Then add the following to your `$PATH` (bash\_profile, zshrc, bashrc, etc):
40+
Then prepend the following to your `$PATH` (bash\_profile, zshrc, bashrc, etc):
4141

4242
```
43-
~/.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
43+
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
4444
```
4545

4646
*Optional:* You could also add `.cabal-sandbox/bin` to your path. Code that you

0 commit comments

Comments
 (0)