Skip to content

Specify Shell Type #5335

@ghost

Description

Although it is a great thing that the Shell language has been included in languages.yml, it can be difficult to find out what shell(s) a repository is meant for.

After all, each different type has their own set of commands that they support.

There is a caveat or two with this enhancement request, though.
A lot of the files are not labeled by the extension, but rather by the shebang. So I am thinking that there will have to be a way to check what type it is (unless the interpreter already accomplishes that for us).
The other concern is simply letting users know the specific type while also conveying that it is still a shell script. Maybe different names, but with the same color? Maybe even Shell - Bash or Shell - Zsh instead of Shell, and keep the same color that the Shell language already uses.

Besides the suggestion above, it could be done easily if there is a way to make some kind of customized name with a .gitattributes file like linguist-language.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions