diff options
author | Sean Whitton <spwhitton@spwhitton.name> | 2015-01-08 15:24:24 +0000 |
---|---|---|
committer | Sean Whitton <spwhitton@spwhitton.name> | 2015-01-08 15:24:24 +0000 |
commit | ba7bb67ebd71efb932e9adf90c679d7dde9a4fe7 (patch) | |
tree | a166d3fbdba1b837d3a60917e7bdbea85455d0af | |
parent | f1a20f2e34a062b758ee3531c9e1313a8a5c3958 (diff) | |
download | dotfiles-ba7bb67ebd71efb932e9adf90c679d7dde9a4fe7.tar.gz |
add .cabal/bin to shell's $PATH
-rw-r--r-- | .emacs.d/eshell/profile | 1 | ||||
-rw-r--r-- | .zshrc | 4 |
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 @@ -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 |