From 242781566c488f18f0aea49acf4f840a24d335f7 Mon Sep 17 00:00:00 2001 From: Aditya Thakral Date: Tue, 12 May 2020 17:46:04 -0400 Subject: [PATCH] Support more shell script file extensions --- extensions/shellscript/package.json | 23 +++++++++++++++++------ 1 file changed, 17 insertions(+), 6 deletions(-) diff --git a/extensions/shellscript/package.json b/extensions/shellscript/package.json index 7c174f77af3..50c3ffdb799 100644 --- a/extensions/shellscript/package.json +++ b/extensions/shellscript/package.json @@ -33,14 +33,25 @@ ".zsh-theme", ".ksh", ".csh", - ".cshrc" + ".cshrc", + ".tcshrc", + ".yashrc", + ".yash_profile" ], "filenames": [ - "APKBUILD", - "PKGBUILD", - ".envrc" - ], - "firstLine": "^#!.*\\b(bash|zsh|sh|tcsh|ksh|ash|qsh|csh).*|^#\\s*-\\*-[^*]*mode:\\s*shell-script[^*]*-\\*-", + "APKBUILD", + "PKGBUILD", + ".envrc", + ".hushlogin", + "zshrc", + "zshenv", + "zlogin", + "zprofile", + "zlogout", + "bashrc_Apple_Terminal", + "zshrc_Apple_Terminal" + ], + "firstLine": "^#!.*\\b(bash|zsh|sh|ksh|dtksh|pdksh|mksh|ash|dash|yash|sh|csh|jcsh|tcsh|itcsh).*|^#\\s*-\\*-[^*]*mode:\\s*shell-script[^*]*-\\*-", "configuration": "./language-configuration.json", "mimetypes": ["text/x-shellscript"] }],