From 3c3bc725fe1c32e7259eb8c2686572a7c3541c89 Mon Sep 17 00:00:00 2001 From: tastytea Date: Tue, 13 Sep 2022 01:53:43 +0200 Subject: [PATCH] zsh: add tex and pdf files to LS_COLORS --- .config/zsh/.zprofile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.config/zsh/.zprofile b/.config/zsh/.zprofile index 519bf0f..47bc0c4 100644 --- a/.config/zsh/.zprofile +++ b/.config/zsh/.zprofile @@ -126,11 +126,13 @@ LS_COLORS="${LS_COLORS}$(_gen_lscolor "38;5;220" flac opus ogg oga mp3 m4a wav m LS_COLORS="${LS_COLORS}$(_gen_lscolor "38;5;220" mkv webm ogv ogm mp4 m4v avi mpeg mpg wmv flv mov 3gp asf)" LS_COLORS="${LS_COLORS}$(_gen_lscolor "38;5;112" m3u m3u8 pls xspf)" # Text (cyan) -LS_COLORS="${LS_COLORS}$(_gen_lscolor "38;5;117" txt md adoc org rst html xhtml shtml htm)" +LS_COLORS="${LS_COLORS}$(_gen_lscolor "38;5;117" txt md adoc org rst html xhtml shtml htm tex)" # Config files (brown) LS_COLORS="${LS_COLORS}$(_gen_lscolor "38;5;130" cfg json ini conf yml yaml xml toml)" # Compressed files and archives (red) LS_COLORS="${LS_COLORS}$(_gen_lscolor "38;5;124" tar gz tgz zst bz2 xz lzma ar zip rar 7z Z arc lha cpio zoo)" +# Compiled but not executable +LS_COLORS="${LS_COLORS}$(_gen_lscolor "0;32" pdf)" # Special cases LS_COLORS="${LS_COLORS}:*Makefile=38;5;112:*CMakeLists.txt=38;5;112:*meson_options.txt=38;5;112" LS_COLORS="${LS_COLORS}:*go.mod=38;5;112:*go.sum=38;5;112"