[PKGBUILD] is a file used in the build system of arch linux, and it is basically just a bash script with special functions. Release Notes: - Changed `PKGBUILD` files to be recognized as bash.
12 lines
590 B
TOML
12 lines
590 B
TOML
name = "Shell Script"
|
|
code_fence_block_name = "bash"
|
|
grammar = "bash"
|
|
path_suffixes = ["sh", "bash", "bashrc", "bash_profile", "bash_aliases", "bash_logout", "profile", "zsh", "zshrc", "zshenv", "zsh_profile", "zsh_aliases", "zsh_histfile", "zlogin", "zprofile", ".env", "PKGBUILD"]
|
|
line_comments = ["# "]
|
|
first_line_pattern = "^#!.*\\b(?:ba|z)?sh\\b"
|
|
brackets = [
|
|
{ start = "[", end = "]", close = true, newline = false },
|
|
{ start = "(", end = ")", close = true, newline = false },
|
|
{ start = "\"", end = "\"", close = true, newline = false, not_in = ["comment", "string"] },
|
|
]
|