aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.zshrc4
1 files changed, 3 insertions, 1 deletions
diff --git a/.zshrc b/.zshrc
index 98d77c4..08504c0 100644
--- a/.zshrc
+++ b/.zshrc
@@ -3,7 +3,9 @@
for config_file ($HOME/.config/zsh/functions/*.zsh) source $config_file
# dircolors
# Set colors for ls output
-eval $(dircolors ~/.dircolors)
+if command -v dircolors > /dev/null; then
+ eval $(dircolors ~/.dircolors)
+fi
# Environment
#