trapd00r / LS_COLORS

A collection of LS_COLORS definitions; needs your contribution!
Other
2.11k stars 260 forks source link

Added ~50 extensions mostly related to macOS #139

Closed beninato8 closed 4 years ago

beninato8 commented 4 years ago

I went through all the extensions on my computer and added each one that I recognized. I also reorganized and added some categories (for example, creating a macOS category and moving XCode to be a subcategory in it). Each commit message should give a brief explanation of what I added, but I would be happy to clarify any of them.

I found all the extensions by running

for x in **/*; do if [ -f $x ]; then echo $(ext $x); fi; done | uniq | gsort

where ext is aliased to

getExtension () {
    fullname=$(basename -- "$1")
    extension="${fullname##*.}"
    echo $extension
}
rpdelaney commented 4 years ago

This is fantastic, thank you!