on master help sign in
Use language=bash when shebang line uses zsh (#4582)

This PR makes the editor use language=bash when the shebang line uses zsh. This is in the same line as using language=bash for zsh related file (~/.zshrc, ~/.zshenv etc.) as we already do.

commitd357f1673fecfadd96983c025057b63a3d3b45e0 authorthrowaway-helix-zsh <117384672+throwaway-helix-zsh@users.noreply.github.com> dateFri 4 Nov 2022, 02:18 (4 years ago) parentc667ff8
1 file changed+1−1
languages.toml+1−1
languages.toml+1−1
@@ -522,7 +522,7 @@ name = "bash"
522522scope = "source.bash"
523523injection-regex = "(shell|bash|zsh|sh)"
524524file-types = ["sh", "bash", "zsh", ".bash_login", ".bash_logout", ".bash_profile", ".bashrc", ".profile", ".zshenv", ".zlogin", ".zlogout", ".zprofile", ".zshrc", "APKBUILD", "PKGBUILD", "eclass", "ebuild", "bazelrc"]
525−shebangs = ["sh", "bash", "dash"]
525+shebangs = ["sh", "bash", "dash", "zsh"]
526526roots = []
527527comment-token = "#"
528528language-server = { command = "bash-language-server", args = ["start"] }