Skip to content

Commit 97831cf

Browse files
authored
Treat .envrc files as Shell scripts
1 parent 355eea2 commit 97831cf

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

extensions/shellscript/package.json

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,11 @@
1414
"id": "shellscript",
1515
"aliases": ["Shell Script", "shellscript", "bash", "sh", "zsh", "ksh"],
1616
"extensions": [".sh", ".bash", ".bashrc", ".bash_aliases", ".bash_profile", ".bash_login", ".ebuild", ".install", ".profile", ".bash_logout", ".zsh", ".zshrc", ".zprofile", ".zlogin", ".zlogout", ".zshenv", ".zsh-theme", ".ksh"],
17-
"filenames": ["APKBUILD", "PKGBUILD"],
17+
"filenames": [
18+
"APKBUILD",
19+
"PKGBUILD",
20+
".envrc"
21+
],
1822
"firstLine": "^#!.*\\b(bash|zsh|sh|tcsh|ksh|ash|qsh).*|^#\\s*-\\*-[^*]*mode:\\s*shell-script[^*]*-\\*-",
1923
"configuration": "./language-configuration.json",
2024
"mimetypes": ["text/x-shellscript"]

0 commit comments

Comments
 (0)