From c74cbd44b1129b912aff098b3ad81547421ff81a Mon Sep 17 00:00:00 2001 From: Johannes Löthberg Date: Fri, 8 Aug 2014 18:08:26 +0200 Subject: zprofile: Use source instead of eval for dircolors --- zsh/.zprofile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'zsh/.zprofile') 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 -- cgit v1.2.3-70-g09d2