From b5a031e35c50d52ab40135449d359c734c2de227 Mon Sep 17 00:00:00 2001 From: katherine Date: Tue, 14 May 2019 20:54:28 -0700 Subject: cut cabal from zprofile --- .zprofile | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) (limited to '.zprofile') diff --git a/.zprofile b/.zprofile index 4c6d11a..705e1d1 100644 --- a/.zprofile +++ b/.zprofile @@ -1,15 +1,12 @@ emulate sh -c 'source /etc/profile' +############# STORE VIMTAGS IN TMP ############ export QT_STYLE_OVERRIDE=gtk -############# STORE VIMTAGS IN RAM ############ +############# STORE VIMTAGS IN TMP ############ [[ -d /tmp/ ]] && \ touch /tmp/.vimtags && ln -sf /tmp/.vimtags . -######### MAKE CABAL BUILDS AVAILABLE ######### -[[ -d ~/.cabal/bin ]] && \ - PATH=$PATH:~/.cabal/bin - ############# INITIALISE CONFIGS ############## [[ -f ~/.config/init/init.sh ]] && \ ~/.config/init/init.sh @@ -38,7 +35,7 @@ func_init_checkreq() { if [[ -d ~/.config/init/funcs/ && -d ~/.config/init/funcreqs ]]; then rm -rf /tmp/funcs mkdir -p /tmp/funcs - PATH=$PATH:/tmp/funcs + path+=(/tmp/funcs) for f in $HOME/.config/init/funcreqs/*; do source "$f" func_init_checkreq $func_init_prereqs , $func_init_checks @@ -52,3 +49,5 @@ fi ############# CONNECTING OVER SSH ############# [[ -f ~/.zprofile-dtach ]] && \ source ~/.zprofile-dtach + +export PATH -- cgit v1.2.3