summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSean Whitton <spwhitton@spwhitton.name>2015-01-08 15:24:24 +0000
committerSean Whitton <spwhitton@spwhitton.name>2015-01-08 15:24:24 +0000
commitba7bb67ebd71efb932e9adf90c679d7dde9a4fe7 (patch)
treea166d3fbdba1b837d3a60917e7bdbea85455d0af
parentf1a20f2e34a062b758ee3531c9e1313a8a5c3958 (diff)
downloaddotfiles-ba7bb67ebd71efb932e9adf90c679d7dde9a4fe7.tar.gz
add .cabal/bin to shell's $PATH
-rw-r--r--.emacs.d/eshell/profile1
-rw-r--r--.zshrc4
2 files changed, 5 insertions, 0 deletions
diff --git a/.emacs.d/eshell/profile b/.emacs.d/eshell/profile
index d7b8e901..d0931f25 100644
--- a/.emacs.d/eshell/profile
+++ b/.emacs.d/eshell/profile
@@ -10,3 +10,4 @@ export VISUAL=emacsclient
addpath /usr/sbin >/dev/null
addpath /sbin >/dev/null
addpath /home/swhitton/local/bin >/dev/null
+addpath /home/swhitton/.cabal/bin >/dev/null
diff --git a/.zshrc b/.zshrc
index a5de20d9..1fc2c799 100644
--- a/.zshrc
+++ b/.zshrc
@@ -112,6 +112,10 @@ if [[ -n "${PATH/*$HOME\/local\/bin:*}" ]] ; then
export PATH="$HOME/local/bin:$PATH"
fi
+if [[ -n "${PATH/*$HOME\/.cabal\/bin:*}" ]] ; then
+ export PATH="$HOME/.cabal/bin:$PATH"
+fi
+
# set some pager options
if [[ -f /usr/bin/less ]] ; then