From ed0cb6f5d91e0924a0136275ac9025f2696a451f Mon Sep 17 00:00:00 2001 From: David Runge Date: Tue, 3 Mar 2020 10:23:28 +0100 Subject: Moving the setting of dircolors from .zprofile to .zshrc, as a successful export relies upon finding dircolors in PATH and for that PATH has to be setup properly (which is not the case, when .zprofile is sourced on macOS. --- .zprofile | 4 ---- .zshrc | 3 +++ 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/.zprofile b/.zprofile index e76fdd3..0d11dbd 100644 --- a/.zprofile +++ b/.zprofile @@ -50,7 +50,3 @@ TMPPREFIX="${TMPDIR%/}/zsh" if [[ ! -d "$TMPPREFIX" ]]; then mkdir -p "$TMPPREFIX" fi - -# dircolors -# Set colors for ls output -eval $(dircolors ~/.dircolors) diff --git a/.zshrc b/.zshrc index 219801b..c99346e 100644 --- a/.zshrc +++ b/.zshrc @@ -4,6 +4,9 @@ for config_file ($HOME/.zsh.functions/*.zsh) source $config_file # zsh.before for config_file ($HOME/.zsh.before/*.zsh) source $config_file +# dircolors +# Set colors for ls output +eval $(dircolors ~/.dircolors) # Environment # -- cgit v1.2.3-70-g09d2