aboutsummaryrefslogtreecommitdiffstats
path: root/.zprofile
diff options
context:
space:
mode:
Diffstat (limited to '.zprofile')
-rw-r--r--.zprofile5
1 files changed, 4 insertions, 1 deletions
diff --git a/.zprofile b/.zprofile
index 2cbba29..64a72f3 100644
--- a/.zprofile
+++ b/.zprofile
@@ -1,6 +1,8 @@
[[ -f /etc/profile ]] && \
emulate sh -c 'source /etc/profile'
+source "$HOME/.config/init/vars"
+
################# SET TERMCMD #################
if [[ ! -z $(whence alacritty) ]] then
export TERMCMD=alacritty
@@ -17,7 +19,8 @@ elif [[ ! -z $(whence vi) ]] then
export EDITOR=vi
fi
-[[ $USER -ne "root" ]] || return
+############### ROOT BAILS HERE ###############
+[[ $USER -ne "root" ]] && return
############# STORE VIMTAGS IN TMP ############
[[ -d $tmpdir ]] && \