Skip to content

Commit e79405b

Browse files
silverwindalecthomas
authored andcommitted
add *.env to bash lexer
1 parent c88ec01 commit e79405b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: lexers/b/bash.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ var Bash = internal.Register(MustNewLexer(
1414
&Config{
1515
Name: "Bash",
1616
Aliases: []string{"bash", "sh", "ksh", "zsh", "shell"},
17-
Filenames: []string{"*.sh", "*.ksh", "*.bash", "*.ebuild", "*.eclass", "*.exheres-0", "*.exlib", "*.zsh", "*.zshrc", ".bashrc", "bashrc", ".bash_*", "bash_*", "zshrc", ".zshrc", "PKGBUILD"},
17+
Filenames: []string{"*.sh", "*.ksh", "*.bash", "*.ebuild", "*.eclass", ".env", "*.env", "*.exheres-0", "*.exlib", "*.zsh", "*.zshrc", ".bashrc", "bashrc", ".bash_*", "bash_*", "zshrc", ".zshrc", "PKGBUILD"},
1818
MimeTypes: []string{"application/x-sh", "application/x-shellscript"},
1919
},
2020
Rules{

0 commit comments

Comments
 (0)