From 51491c3c08a23e5b1f0a9961e6e8a1c544fd18b2 Mon Sep 17 00:00:00 2001 From: Adam Gaskins Date: Mon, 7 Apr 2025 17:11:59 -0400 Subject: [PATCH] Fix syntax highlighting for bash/zsh --- .../builtins/unix-family/50-shell.toml | 20 +++++++++++++++++++ 1 file changed, 20 insertions(+) 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" ]