Add first line pattern

Nate Butler created

Change summary

crates/zed/src/languages/bash/config.toml | 1 +
1 file changed, 1 insertion(+)

Detailed changes

crates/zed/src/languages/bash/config.toml 🔗

@@ -1,5 +1,6 @@
 name = "Shell Script"
 path_suffixes = [".sh", ".bash", ".bashrc", ".bash_profile", ".bash_aliases", ".bash_logout", ".profile", ".zsh", ".zshrc", ".zshenv", ".zsh_profile", ".zsh_aliases", ".zsh_histfile", ".zlogin"]
+first_line_pattern = "^#!.*\\b(?:ba|z)?sh\\b"
 brackets = [
     { start = "[", end = "]", close = true, newline = false },
     { start = "(", end = ")", close = true, newline = false },