ogham / exa

A modern replacement for ‘ls’.
https://the.exa.website/
MIT License
23.45k stars 658 forks source link

exa ignores sticky bit in LS_COLORS #1215

Open haizaar opened 1 year ago

haizaar commented 1 year ago

Looks like exa ignores sticky bit definitions (su) in LS_COLORS - the fact that the file is executable trumps over allegedly:

image My LS_COLORS is configured to show sticky bits in red as indicated correctly by ls but not by exa.

Bug?

Exa version: v0.10.1 Platform: NixOS 23.05 amd64

My LS_COLORS is below for the reference

Show `LS_COLORS` ``` *~=0;38;2;102;102;102:bd=1;38;2;235;203;139;48;2;67;76;94:ca=0:cd=1;38;2;235;203;139;48;2;67;76;94:di=0;38;2;113;174;215:do=1;38;2;180;142;173;48;2;67;76;94:ex=0;38;2;101;194;84:fi=0;38;2;188;188;188:ln=0;38;2;129;200;190:mh=0:mi=1;38;2;236;239;244;48;2;191;97;106:no=0;38;2;188;188;188:or=0;38;2;35;38;52;48;2;231;130;132:ow=0:pi=1;38;2;235;203;139;48;2;67;76;94:rs=0;38;2;188;188;188:sg=0;38;2;231;130;132:so=1;38;2;180;142;173;48;2;67;76;94:st=0:su=0;38;2;231;130;132:tw=0:*.a=0;38;2;208;135;112:*.c=0;38;2;163;190;140:*.d=0;38;2;163;190;140:*.h=0;38;2;163;190;140:*.m=0;38;2;163;190;140:*.o=0;38;2;102;102;102:*.p=0;38;2;163;190;140:*.r=0;38;2;163;190;140:*.t=0;38;2;163;190;140:*.z=0;38;2;32;159;181:*.7z=0;38;2;32;159;181:*.as=0;38;2;163;190;140:*.bc=0;38;2;102;102;102:*.bz=0;38;2;32;159;181:*.cc=0;38;2;163;190;140:*.cp=0;38;2;163;190;140:*.cr=0;38;2;163;190;140:*.cs=0;38;2;163;190;140:*.di=0;38;2;163;190;140:*.el=0;38;2;163;190;140:*.ex=0;38;2;163;190;140:*.fs=0;38;2;163;190;140:*.go=0;38;2;163;190;140:*.gv=0;38;2;163;190;140:*.gz=0;38;2;32;159;181:*.hh=0;38;2;163;190;140:*.hi=0;38;2;102;102;102:*.hs=0;38;2;163;190;140:*.jl=0;38;2;163;190;140:*.js=0;38;2;163;190;140:*.ko=0;38;2;208;135;112:*.kt=0;38;2;163;190;140:*.la=0;38;2;102;102;102:*.ll=0;38;2;163;190;140:*.lo=0;38;2;102;102;102:*.md=0;38;2;185;180;117:*.ml=0;38;2;163;190;140:*.mn=0;38;2;163;190;140:*.nb=0;38;2;163;190;140:*.pl=0;38;2;163;190;140:*.pm=0;38;2;163;190;140:*.pp=0;38;2;163;190;140:*.ps=0;38;2;108;101;182:*.py=0;38;2;163;190;140:*.rb=0;38;2;163;190;140:*.rm=0;38;2;108;101;182:*.rs=0;38;2;163;190;140:*.sh=0;38;2;163;190;140:*.so=0;38;2;208;135;112:*.td=0;38;2;163;190;140:*.tf=0;38;2;49;136;102:*.ts=0;38;2;163;190;140:*.ui=0;38;2;49;136;102:*.vb=0;38;2;163;190;140:*.wv=0;38;2;108;101;182:*.xz=0;38;2;32;159;181:*.aif=0;38;2;108;101;182:*.ape=0;38;2;108;101;182:*.apk=0;38;2;32;159;181:*.arj=0;38;2;32;159;181:*.asa=0;38;2;163;190;140:*.aux=0;38;2;102;102;102:*.avi=0;38;2;108;101;182:*.awk=0;38;2;163;190;140:*.bag=0;38;2;32;159;181:*.bak=0;38;2;102;102;102:*.bat=0;38;2;208;135;112:*.bbl=0;38;2;102;102;102:*.bcf=0;38;2;102;102;102:*.bib=0;38;2;49;136;102:*.bin=0;38;2;32;159;181:*.blg=0;38;2;102;102;102:*.bmp=0;38;2;108;101;182:*.bsh=0;38;2;163;190;140:*.bst=0;38;2;49;136;102:*.bz2=0;38;2;32;159;181:*.c++=0;38;2;163;190;140:*.cfg=0;38;2;49;136;102:*.cgi=0;38;2;163;190;140:*.clj=0;38;2;163;190;140:*.com=0;38;2;208;135;112:*.cpp=0;38;2;163;190;140:*.css=0;38;2;163;190;140:*.csv=0;38;2;185;180;117:*.csx=0;38;2;163;190;140:*.cxx=0;38;2;163;190;140:*.deb=0;38;2;32;159;181:*.def=0;38;2;163;190;140:*.dll=0;38;2;208;135;112:*.dmg=0;38;2;32;159;181:*.doc=0;38;2;108;101;182:*.dot=0;38;2;163;190;140:*.dox=0;38;2;80;161;79:*.dpr=0;38;2;163;190;140:*.elc=0;38;2;163;190;140:*.elm=0;38;2;163;190;140:*.epp=0;38;2;163;190;140:*.eps=0;38;2;108;101;182:*.erl=0;38;2;163;190;140:*.exe=0;38;2;208;135;112:*.exs=0;38;2;163;190;140:*.fls=0;38;2;102;102;102:*.flv=0;38;2;108;101;182:*.fnt=0;38;2;108;101;182:*.fon=0;38;2;108;101;182:*.fsi=0;38;2;163;190;140:*.fsx=0;38;2;163;190;140:*.gif=0;38;2;108;101;182:*.git=0;38;2;102;102;102:*.gvy=0;38;2;163;190;140:*.h++=0;38;2;163;190;140:*.hpp=0;38;2;163;190;140:*.htc=0;38;2;163;190;140:*.htm=0;38;2;185;180;117:*.hxx=0;38;2;163;190;140:*.ico=0;38;2;108;101;182:*.ics=0;38;2;108;101;182:*.idx=0;38;2;102;102;102:*.ilg=0;38;2;102;102;102:*.img=0;38;2;32;159;181:*.inc=0;38;2;163;190;140:*.ind=0;38;2;102;102;102:*.ini=0;38;2;49;136;102:*.inl=0;38;2;163;190;140:*.ipp=0;38;2;163;190;140:*.iso=0;38;2;32;159;181:*.jar=0;38;2;32;159;181:*.jpg=0;38;2;108;101;182:*.kex=0;38;2;108;101;182:*.kts=0;38;2;163;190;140:*.log=0;38;2;102;102;102:*.ltx=0;38;2;163;190;140:*.lua=0;38;2;163;190;140:*.m3u=0;38;2;108;101;182:*.m4a=0;38;2;108;101;182:*.m4v=0;38;2;108;101;182:*.mid=0;38;2;108;101;182:*.mir=0;38;2;163;190;140:*.mkv=0;38;2;108;101;182:*.mli=0;38;2;163;190;140:*.mov=0;38;2;108;101;182:*.mp3=0;38;2;108;101;182:*.mp4=0;38;2;108;101;182:*.mpg=0;38;2;108;101;182:*.nix=0;38;2;49;136;102:*.odp=0;38;2;108;101;182:*.ods=0;38;2;108;101;182:*.odt=0;38;2;108;101;182:*.ogg=0;38;2;108;101;182:*.org=0;38;2;185;180;117:*.otf=0;38;2;108;101;182:*.out=0;38;2;102;102;102:*.pas=0;38;2;163;190;140:*.pbm=0;38;2;108;101;182:*.pdf=0;38;2;108;101;182:*.pgm=0;38;2;108;101;182:*.php=0;38;2;163;190;140:*.pid=0;38;2;102;102;102:*.pkg=0;38;2;32;159;181:*.png=0;38;2;108;101;182:*.pod=0;38;2;163;190;140:*.ppm=0;38;2;108;101;182:*.pps=0;38;2;108;101;182:*.ppt=0;38;2;108;101;182:*.pro=0;38;2;80;161;79:*.ps1=0;38;2;163;190;140:*.psd=0;38;2;108;101;182:*.pyc=0;38;2;102;102;102:*.pyd=0;38;2;102;102;102:*.pyo=0;38;2;102;102;102:*.rar=0;38;2;32;159;181:*.rpm=0;38;2;32;159;181:*.rst=0;38;2;185;180;117:*.rtf=0;38;2;108;101;182:*.sbt=0;38;2;163;190;140:*.sql=0;38;2;163;190;140:*.sty=0;38;2;102;102;102:*.svg=0;38;2;108;101;182:*.swf=0;38;2;108;101;182:*.swp=0;38;2;102;102;102:*.sxi=0;38;2;108;101;182:*.sxw=0;38;2;108;101;182:*.tar=0;38;2;32;159;181:*.tbz=0;38;2;32;159;181:*.tcl=0;38;2;163;190;140:*.tex=0;38;2;163;190;140:*.tgz=0;38;2;32;159;181:*.tif=0;38;2;108;101;182:*.tml=0;38;2;49;136;102:*.tmp=0;38;2;102;102;102:*.toc=0;38;2;102;102;102:*.tsx=0;38;2;163;190;140:*.ttf=0;38;2;108;101;182:*.txt=0;38;2;185;180;117:*.vcd=0;38;2;32;159;181:*.vim=0;38;2;163;190;140:*.vob=0;38;2;108;101;182:*.wav=0;38;2;108;101;182:*.wma=0;38;2;108;101;182:*.wmv=0;38;2;108;101;182:*.xcf=0;38;2;108;101;182:*.xlr=0;38;2;108;101;182:*.xls=0;38;2;108;101;182:*.xml=0;38;2;185;180;117:*.xmp=0;38;2;49;136;102:*.yml=0;38;2;49;136;102:*.zip=0;38;2;32;159;181:*.zsh=0;38;2;163;190;140:*.zst=0;38;2;32;159;181:*TODO=1;38;2;185;180;117:*hgrc=0;38;2;80;161;79:*.bash=0;38;2;163;190;140:*.conf=0;38;2;49;136;102:*.dart=0;38;2;163;190;140:*.diff=0;38;2;163;190;140:*.docx=0;38;2;108;101;182:*.epub=0;38;2;108;101;182:*.fish=0;38;2;163;190;140:*.flac=0;38;2;108;101;182:*.h264=0;38;2;108;101;182:*.hgrc=0;38;2;80;161;79:*.html=0;38;2;185;180;117:*.java=0;38;2;163;190;140:*.jpeg=0;38;2;108;101;182:*.json=0;38;2;49;136;102:*.less=0;38;2;163;190;140:*.lisp=0;38;2;163;190;140:*.lock=0;38;2;102;102;102:*.make=0;38;2;80;161;79:*.mpeg=0;38;2;108;101;182:*.opus=0;38;2;108;101;182:*.orig=0;38;2;102;102;102:*.pptx=0;38;2;108;101;182:*.psd1=0;38;2;163;190;140:*.psm1=0;38;2;163;190;140:*.purs=0;38;2;163;190;140:*.rlib=0;38;2;102;102;102:*.sass=0;38;2;163;190;140:*.scss=0;38;2;163;190;140:*.tbz2=0;38;2;32;159;181:*.tiff=0;38;2;108;101;182:*.toml=0;38;2;49;136;102:*.webm=0;38;2;108;101;182:*.webp=0;38;2;108;101;182:*.woff=0;38;2;108;101;182:*.xbps=0;38;2;32;159;181:*.xlsx=0;38;2;108;101;182:*.yaml=0;38;2;49;136;102:*.cabal=0;38;2;163;190;140:*.cache=0;38;2;102;102;102:*.class=0;38;2;102;102;102:*.cmake=0;38;2;80;161;79:*.dyn_o=0;38;2;102;102;102:*.ipynb=0;38;2;163;190;140:*.mdown=0;38;2;185;180;117:*.patch=0;38;2;163;190;140:*.scala=0;38;2;163;190;140:*.shtml=0;38;2;185;180;117:*.swift=0;38;2;163;190;140:*.toast=0;38;2;32;159;181:*.xhtml=0;38;2;185;180;117:*README=0;38;2;185;180;117:*passwd=0;38;2;49;136;102:*shadow=0;38;2;49;136;102:*.config=0;38;2;49;136;102:*.dyn_hi=0;38;2;102;102;102:*.flake8=0;38;2;80;161;79:*.gradle=0;38;2;163;190;140:*.groovy=0;38;2;163;190;140:*.ignore=0;38;2;80;161;79:*.matlab=0;38;2;163;190;140:*COPYING=0;38;2;185;180;117:*INSTALL=0;38;2;185;180;117:*LICENSE=0;38;2;185;180;117:*Pipfile=0;38;2;80;161;79:*TODO.md=1;38;2;185;180;117:*.desktop=0;38;2;49;136;102:*.gemspec=0;38;2;80;161;79:*Doxyfile=0;38;2;80;161;79:*Makefile=0;38;2;80;161;79:*TODO.txt=1;38;2;185;180;117:*setup.py=0;38;2;80;161;79:*.DS_Store=0;38;2;102;102;102:*.cmake.in=0;38;2;80;161;79:*.fdignore=0;38;2;80;161;79:*.kdevelop=0;38;2;80;161;79:*.markdown=0;38;2;185;180;117:*.rgignore=0;38;2;80;161;79:*COPYRIGHT=0;38;2;185;180;117:*README.md=0;38;2;185;180;117:*configure=0;38;2;80;161;79:*shell.nix=0;38;2;180;142;173:*.gitconfig=0;38;2;80;161;79:*.gitignore=0;38;2;80;161;79:*.localized=0;38;2;102;102;102:*.scons_opt=0;38;2;102;102;102:*CODEOWNERS=0;38;2;80;161;79:*INSTALL.md=0;38;2;185;180;117:*README.txt=0;38;2;185;180;117:*SConscript=0;38;2;80;161;79:*SConstruct=0;38;2;80;161;79:*.gitmodules=0;38;2;80;161;79:*.synctex.gz=0;38;2;102;102;102:*.travis.yml=0;38;2;80;161;79:*Dockerfile*=0;38;2;80;161;79:*INSTALL.txt=0;38;2;185;180;117:*LICENSE-MIT=0;38;2;185;180;117:*MANIFEST.in=0;38;2;80;161;79:*Makefile.am=0;38;2;80;161;79:*Makefile.in=0;38;2;102;102;102:*.applescript=0;38;2;163;190;140:*.fdb_latexmk=0;38;2;102;102;102:*CONTRIBUTORS=0;38;2;185;180;117:*appveyor.yml=0;38;2;80;161;79:*configure.ac=0;38;2;80;161;79:*.clang-format=0;38;2;80;161;79:*.gitattributes=0;38;2;80;161;79:*.gitlab-ci.yml=0;38;2;80;161;79:*CMakeCache.txt=0;38;2;102;102;102:*CMakeLists.txt=0;38;2;80;161;79:*LICENSE-APACHE=0;38;2;185;180;117:*CONTRIBUTORS.md=0;38;2;185;180;117:*.sconsign.dblite=0;38;2;102;102;102:*CONTRIBUTORS.txt=0;38;2;185;180;117:*requirements.txt=0;38;2;80;161;79:*package-lock.json=0;38;2;102;102;102:*.CFUserTextEncoding=0;38;2;102;102;102 ```