From 0c933d0a6b85b889d1cd950068862893ddf3ad03 Mon Sep 17 00:00:00 2001 From: tastytea Date: Sun, 1 May 2022 08:36:08 +0200 Subject: [PATCH] Initialize LS_COLORS Needed in order for Zsh to pick up default dir colours and so on. --- .config/zsh/.zprofile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.config/zsh/.zprofile b/.config/zsh/.zprofile index dc0242e..14c2c11 100644 --- a/.config/zsh/.zprofile +++ b/.config/zsh/.zprofile @@ -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)"