1
0
Fork 0

Initialize LS_COLORS

Needed in order for Zsh to pick up default dir colours and so on.
This commit is contained in:
tastytea 2022-05-01 08:36:08 +02:00
parent 9b950a044b
commit 0c933d0a6b
Signed by: tastytea
SSH Key Fingerprint: SHA256:FBkvrOlhq5use1XEttyUGT4bUTDVA1ar9SgIc9P03cM
1 changed files with 2 additions and 0 deletions

View File

@ -107,6 +107,8 @@ function _gen_lscolor()
done
}
unset LS_COLORS
# Initialize with defaults
LS_COLORS='rs=0:di=01;34:ln=01;36:mh=00:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=01;05;37;41:mi=01;05;37;41:su=37;41:sg=30;43:ca=30;41:tw=30;42:ow=34;42:st=37;44:ex=01;32'
# Program code (rose)
LS_COLORS="${LS_COLORS}$(_gen_lscolor "38;5;177" cpp cxx c++ c go rs ex)"
LS_COLORS="${LS_COLORS}$(_gen_lscolor "38;5;177" py rb el ebuild zsh sh bash pl php phtml qml js)"