aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Runge <david.runge@holoplot.com>2020-03-03 10:23:28 +0100
committerDavid Runge <david.runge@holoplot.com>2020-03-03 10:23:28 +0100
commited0cb6f5d91e0924a0136275ac9025f2696a451f (patch)
tree0834b15b16d192ff09f61872d1cc6f18b21812e1
parentddd0c3ac1fe7c608c7d6827af2d00b9dcbc1fa4d (diff)
downloaddotfiles-ed0cb6f5d91e0924a0136275ac9025f2696a451f.tar.gz
dotfiles-ed0cb6f5d91e0924a0136275ac9025f2696a451f.tar.bz2
dotfiles-ed0cb6f5d91e0924a0136275ac9025f2696a451f.tar.xz
dotfiles-ed0cb6f5d91e0924a0136275ac9025f2696a451f.zip
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.
-rw-r--r--.zprofile4
-rw-r--r--.zshrc3
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
#