]> arthur.barton.de Git - ax-zsh.git/commitdiff
std_env: Set CLICOLOR=1 (if not set already)
authorAlexander Barton <alex@barton.de>
Sun, 5 Jul 2020 20:10:42 +0000 (22:10 +0200)
committerAlexander Barton <alex@barton.de>
Sun, 5 Jul 2020 20:10:42 +0000 (22:10 +0200)
This enables support for colors in some CLI tools on some BSD systems
and tools, like on FreeBSD.

default_plugins/std_env/std_env.zprofile

index 776cfccb5177519be437643ab280e2a749db0997..7321cf8e89bc1dbefccaf68a8456237f1ce6b0d3 100644 (file)
@@ -1,5 +1,6 @@
 # AX-ZSH: Alex' Modular ZSH Configuration
 # std_env: Setup standard environment variables
 
+export CLICOLOR=${CLICOLOR:-1}
 export MANWIDTH=${MANWIDTH:-80}
 export REPORTTIME=${REPORTTIME:-5}