on master help sign in
Use language=bash when shebang line uses zsh (#4582)
d357f16throwaway-helix-zsh
languages.toml+1−1
@@ -522,7 +522,7 @@ name = "bash"
522scope = "source.bash"
522scope = "source.bash"
523injection-regex = "(shell|bash|zsh|sh)"
523injection-regex = "(shell|bash|zsh|sh)"
524file-types = ["sh", "bash", "zsh", ".bash_login", ".bash_logout", ".bash_profile", ".bashrc", ".profile", ".zshenv", ".zlogin", ".zlogout", ".zprofile", ".zshrc", "APKBUILD", "PKGBUILD", "eclass", "ebuild", "bazelrc"]
524file-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"]
526roots = []
526roots = []
527comment-token = "#"
527comment-token = "#"
528language-server = { command = "bash-language-server", args = ["start"] }
528language-server = { command = "bash-language-server", args = ["start"] }