Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Icons for specific files (match with filename, not extension) #62

Closed
Jab2870 opened this issue Jul 10, 2017 · 2 comments
Closed

Icons for specific files (match with filename, not extension) #62

Jab2870 opened this issue Jul 10, 2017 · 2 comments

Comments

@Jab2870
Copy link

Jab2870 commented Jul 10, 2017

It would be great if, I was able to use the grunt icon for files named Gruntfile.js (\ue74c).

I tried adding: Gruntfile.js grunt to the file_aliases.yaml ad adding grunt "\ue74c" to the files.yaml but it didn't work.

@athityakumar
Copy link
Owner

@Jab2870 - Currently, filenames' extension is decided by the part after the last dot. So, a Gruntfile.js gets recognized as a .js file.

Recognizing certain files by exact name isn't supported yet, but should be a goo addition.

@athityakumar athityakumar changed the title Use Grunt icon for Gruntfile.js Icons for specific files (match with filename, not extension) Jul 10, 2017
@athityakumar
Copy link
Owner

If anyone would like to take this up, the private method ColorLS::Core#options has to be modified with probably just 2-3 lines. 😄

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants