AnthonyDiGirolamo / els

Emoji + ls = els. Wrapper script for ls to get icons alongside file names on the terminal.
http://anthonydigirolamo.github.io/els/
116 stars 9 forks source link

add stricter arg cleaning rules and add support for -h and -1 #11

Open LeLobster opened 6 years ago

LeLobster commented 6 years ago

using, i.e ls's --group-directories-first would pass on --rup-directries-first because the chars lngo were stripped from everything before calling /bin/ls.
I've made it so there is are stricter checks before stripping these chars and now every arg gets passed properly

Also goes for checking if recursive ls was enabled, it now also checks for the use of --recursive in stead of only -R