aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorkatherine <shmibs@shmibbles.me>2016-05-01 16:27:06 -0700
committerkatherine <shmibs@shmibbles.me>2016-05-01 16:27:06 -0700
commit36855decf8df270927f120dc19d0c09909eaf17d (patch)
treeb8c895d29552e85fa680be012d773ebe1cc5b507
parentf631180fa4e5565c22b212f3e00bd0f5e47dd96e (diff)
downloaddotfiles-36855decf8df270927f120dc19d0c09909eaf17d.tar.gz
cabal in PATH
-rw-r--r--.zprofile4
-rw-r--r--.zshrc9
2 files changed, 4 insertions, 9 deletions
diff --git a/.zprofile b/.zprofile
index 195e549..75606b2 100644
--- a/.zprofile
+++ b/.zprofile
@@ -2,6 +2,10 @@ emulate sh -c 'source /etc/profile'
export QT_STYLE_OVERRIDE=gtk
+######### MAKE CABAL BUILDS AVAILABLE #########
+[[ -d ~/.cabal/bin ]] && \
+ PATH=$PATH:~/.cabal/bin
+
########## MAKE USER FUNCS AVAILABLE ##########
[[ -d ~/.config/init/funcs/ ]] && \
PATH="$PATH:$HOME/.config/init/funcs"
diff --git a/.zshrc b/.zshrc
index 516fc3f..84bc602 100644
--- a/.zshrc
+++ b/.zshrc
@@ -22,15 +22,6 @@ unsetopt beep
##################### MISC ####################
-# path for haskell builds
-if [[ -d ~/.cabal/bin ]]; then
- PATH=$PATH:~/.cabal/bin
-fi
-
-if [[ -d ~/.cabal-sandbox/bin ]]; then
- PATH=$PATH:~/.cabal-sandbox/bin
-fi
-
# dynamic title
if [[ "$TERM" == "rxvt-256color" ]]; then