aboutsummaryrefslogtreecommitdiffstats
path: root/zsh/.zprofile
diff options
context:
space:
mode:
authorJohannes Löthberg <johannes@kyriasis.com>2014-08-08 18:08:26 +0200
committerJohannes Löthberg <johannes@kyriasis.com>2014-08-08 18:08:26 +0200
commitc74cbd44b1129b912aff098b3ad81547421ff81a (patch)
tree052294de40a70c70964299898fcefb90dc96e674 /zsh/.zprofile
parent8d8087937147247a85e6b00044921f1e20b4b60c (diff)
downloaddotfiles-c74cbd44b1129b912aff098b3ad81547421ff81a.tar.xz
zprofile: Use source instead of eval for dircolors
Diffstat (limited to 'zsh/.zprofile')
-rw-r--r--zsh/.zprofile2
1 files changed, 1 insertions, 1 deletions
diff --git a/zsh/.zprofile b/zsh/.zprofile
index efe4009..d9242ae 100644
--- a/zsh/.zprofile
+++ b/zsh/.zprofile
@@ -39,7 +39,7 @@ export HOSTNAME=$(hostname -s)
export FQDN=$(hostname -f)
# LS_COLORS is now required for `ls` to use colour
-eval "$(dircolors -b ~/.config/dircolors)"
+source <(dircolors -b "$XDG_CONFIG_HOME"/dircolors)
if [[ -z $DISPLAY && $XDG_VTNR -eq 1 ]]; then
exec startx "$XDG_CONFIG_HOME"/X11/xinitrc