diff --git a/CHANGELOG.md b/CHANGELOG.md index 1348b207..738dabc6 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -11,6 +11,7 @@ - Rename some submodules to fix Dependabot submodule updates, see issue #3198 and PR #3201 (@victor-gp) - Make highlight tests fail when new syntaxes don't have fixtures PR #3255 (@dan-hipschman) - Fix crash for multibyte characters in file path, see issue #3230 and PR #3245 (@HSM95) +- Add missing mappings for various bash/zsh files, see PR #3262 (@AdamGaskins) ## Other diff --git a/src/syntax_mapping/builtins/unix-family/50-shell.toml b/src/syntax_mapping/builtins/unix-family/50-shell.toml index d015ca81..cd59a84e 100644 --- a/src/syntax_mapping/builtins/unix-family/50-shell.toml +++ b/src/syntax_mapping/builtins/unix-family/50-shell.toml @@ -2,4 +2,24 @@ "Bourne Again Shell (bash)" = [ # used by lots of shells "/etc/profile", + + "bashrc", + "*.bashrc", + "bash_profile", + "*.bash_profile", + "bash_login", + "*.bash_login", + "bash_logout", + "*.bash_logout", + + "zshrc", + "*.zshrc", + "zprofile", + "*.zprofile", + "zlogin", + "*.zlogin", + "zlogout", + "*.zlogout", + "zshenv", + "*.zshenv" ]