From 36855decf8df270927f120dc19d0c09909eaf17d Mon Sep 17 00:00:00 2001 From: katherine Date: Sun, 1 May 2016 16:27:06 -0700 Subject: cabal in PATH --- .zprofile | 4 ++++ .zshrc | 9 --------- 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 -- cgit v1.2.3