Skip to content

Commit

Permalink
Merge pull request #108 from abduhbm/csh-interp-and-extension
Browse files Browse the repository at this point in the history
Add csh to interpreters and .cshrc to extensions
  • Loading branch information
asottile authored May 30, 2020
2 parents 62cc69d + 2f9cffa commit 615282a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
2 changes: 2 additions & 0 deletions identify/extensions.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@
'cpp': {'text', 'c++'},
'crt': {'text', 'pem'},
'cs': {'text', 'c#'},
'csh': {'text', 'shell', 'csh'},
'cson': {'text', 'cson'},
'css': {'text', 'css'},
'csv': {'text', 'csv'},
Expand Down Expand Up @@ -197,6 +198,7 @@
'.bash_profile': EXTENSIONS['bash'],
'.bowerrc': EXTENSIONS['json'] | {'bowerrc'},
'.coveragerc': EXTENSIONS['ini'] | {'coveragerc'},
'.cshrc': EXTENSIONS['csh'],
'.dockerignore': {'text', 'dockerignore'},
'.editorconfig': {'text', 'editorconfig'},
'.gitconfig': EXTENSIONS['ini'] | {'gitconfig'},
Expand Down
1 change: 1 addition & 0 deletions identify/interpreters.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@

INTERPRETERS = {
'bash': {'shell', 'bash'},
'csh': {'shell', 'csh'},
'dash': {'shell', 'dash'},
'node': {'javascript'},
'nodejs': {'javascript'},
Expand Down

0 comments on commit 615282a

Please sign in to comment.