]> Sergey Matveev's repositories - dotfiles.git/commitdiff
More descriptive LSCOLORS
authorSergey Matveev <stargrave@stargrave.org>
Tue, 29 Mar 2022 20:23:01 +0000 (23:23 +0300)
committerSergey Matveev <stargrave@stargrave.org>
Tue, 29 Mar 2022 20:23:01 +0000 (23:23 +0300)
zsh/.zsh/env/005ls.zsh

index eb6174a2f252fcb32e1ebb17e84d53bc4e5a0da1..c75866e2906d7954fedd801a03b52f578aadc297 100644 (file)
@@ -1,2 +1,15 @@
 export CLICOLOR=1
-export LSCOLORS=BxGxcxdxCxegDxabagacad
+lscolors=(
+    Bx # ex # directory
+    Gx # fx # symbolic link
+    cx # cx # socket
+    dx # dx # pipe
+    Cx # bx # executable
+    eg # eg # block special
+    Dx # ed # character special
+    ab # ab # executable with setuid bit set
+    ag # ag # executable with setgid bit set
+    ac # ac # directory writable to others, with sticky bit
+    ad # ad # directory writable to others, without sticky bit
+)
+export LSCOLORS=${(j::)lscolors}