From 47193fd7af58de0ee255e7bf0b054ab02dd4fee9 Mon Sep 17 00:00:00 2001 From: John Albietz Date: Tue, 1 Apr 2014 12:54:17 -0700 Subject: [PATCH] Instructions for adding build to PATH. --- README.md | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 147b113..3913260 100644 --- a/README.md +++ b/README.md @@ -40,11 +40,18 @@ On Mac OS X with MacPorts (http://www.macports.org/): With cabal installed, cd to the shellcheck source directory and: $ cabal install - ... + +This will install shellcheck to your ~/.cabal/bin directory. + +Add the directory to your path (for bash, add this to your ~/.bashrc file): + + export PATH=$HOME/.cabal/bin:$PATH + +Verify that your PATH is set up correctly: + $ which shellcheck ~/.cabal/bin/shellcheck - ## Building with Make ShellCheck is written in Haskell, and requires GHC, Parsec3, JSON and