els icon indicating copy to clipboard operation
els copied to clipboard

Gear icon for almost everything

Open km5es opened this issue 6 years ago • 2 comments

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.

km5es avatar Mar 17 '18 22:03 km5es

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?

km5es avatar Mar 17 '18 23:03 km5es

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

LeLobster avatar Aug 27 '18 21:08 LeLobster