els
els copied to clipboard
Gear icon for almost everything
Hello,
I get the gear icon for all image, video, and pdf files. It works fine for tar and deb files (sometimes) and dir, text files.
Okay, I think it has to do with file permissions. The files that have execute permissions are showing up in green (default for me) when I do an ls, and with a gear icon when doing els. Is there any way around this besides having to change the permissions on all these files?
You can edit the els source file and replace on line 133-135
when '*'
extension = 'ex'
icon = :executable
with
when '*'
if @classify
extension = 'ex'
icon = :executable
end
that way executables only get id'ed as such if you pass -F
or --classify