lib/appearance: export $CLICOLOR instead of $LSCOLOR
Alsö, since the *value* of `$CLICOLOR` is not used anywhere, overload it to count the number of colors available for use elsewhere.
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
# shellcheck shell=bash
|
||||
|
||||
# colored ls
|
||||
export LSCOLORS='Gxfxcxdxdxegedabagacad'
|
||||
: "${CLICOLOR:=$(tput colors)}"
|
||||
export CLICOLOR
|
||||
|
||||
: "${CUSTOM_THEME_DIR:="${BASH_IT_CUSTOM:=${BASH_IT}/custom}/themes"}"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user