aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorkatherine <shmibs@airen-no-jikken.icu>2019-05-14 20:54:28 -0700
committerkatherine <shmibs@airen-no-jikken.icu>2019-05-14 20:54:28 -0700
commitb5a031e35c50d52ab40135449d359c734c2de227 (patch)
treea912e83dcf31cbaa87f16e18f1a8d65c4363181f
parent120632b41195e59686fa8ad9c360aa3c0cd75cd9 (diff)
downloaddotfiles-b5a031e35c50d52ab40135449d359c734c2de227.tar.gz
cut cabal from zprofile
-rw-r--r--.zprofile11
1 files changed, 5 insertions, 6 deletions
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