aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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