aboutsummaryrefslogtreecommitdiffstats
path: root/.zprofile
diff options
context:
space:
mode:
authorkatherine <ageha@airen-no-jikken.icu>2023-12-02 17:42:55 -0700
committerkatherine <ageha@airen-no-jikken.icu>2023-12-02 17:42:55 -0700
commitc58ca45eeee2bc11e0af233aa0d8a0512ecb0ba7 (patch)
tree0582bbb674a15e63c80b4150082af33f48074170 /.zprofile
parentbfc87ea75a77a723d3156990e658d3685f431f2f (diff)
downloaddotfiles-c58ca45eeee2bc11e0af233aa0d8a0512ecb0ba7.tar.gz
avoid unnecessary .zprofile lines when root
Diffstat (limited to '.zprofile')
-rw-r--r--.zprofile2
1 files changed, 1 insertions, 1 deletions
diff --git a/.zprofile b/.zprofile
index 5ffdf85..2cbba29 100644
--- a/.zprofile
+++ b/.zprofile
@@ -17,7 +17,7 @@ elif [[ ! -z $(whence vi) ]] then
export EDITOR=vi
fi
-source $HOME/.config/init/vars
+[[ $USER -ne "root" ]] || return
############# STORE VIMTAGS IN TMP ############
[[ -d $tmpdir ]] && \