Recognize .bash_login as shell script (#63466)
Added `.bash_login` to the list of recognized shell script files for syntax highlighting. Shoutout: [acidx27x](https://github.com/acidx27x) for #62720 Release Notes: - Added shell script language detection for `.bash_login` files.
This commit is contained in:
1 parent
2e1cd0fbb2
commit
a209865454
1 file changed
+1
-1
@@ -1,7 +1,7 @@
|
||||
name = "Shell Script"
|
||||
code_fence_block_name = "bash"
|
||||
grammar = "bash"
|
||||
path_suffixes = ["sh", "bash", "bashrc", "bash_profile", "bash_aliases", "bash_logout", "brushrc", "bats", "envrc", "profile", "zsh", "zshrc", "zshenv", "zsh_profile", "zsh_aliases", "zsh_histfile", "zlogin", "zprofile", ".env", "PKGBUILD", "APKBUILD", "ebuild"]
|
||||
path_suffixes = ["sh", "bash", "bashrc", "bash_profile", "bash_aliases", "bash_login", "bash_logout", "brushrc", "bats", "envrc", "profile", "zsh", "zshrc", "zshenv", "zsh_profile", "zsh_aliases", "zsh_histfile", "zlogin", "zprofile", ".env", "PKGBUILD", "APKBUILD", "ebuild"]
|
||||
modeline_aliases = ["sh", "shell", "shell-script", "zsh"]
|
||||
line_comments = ["# "]
|
||||
first_line_pattern = '^#!.*\b(?:ash|bash|bats|dash|sh|zsh)\b'
|
||||
|
||||
Reference in new issue
Block a user