From: Michihito Shigemura <m_shigemura@shigemk2.com>
To: 25217@debbugs.gnu.org
Cc: Michihito Shigemura <m_shigemura@shigemk2.com>
Subject: bug#25217: [PATCH] Enable sh-mode zshrc
Date: Tue, 20 Dec 2016 21:12:35 +0900 [thread overview]
Message-ID: <20161220121235.24490-1-m_shigemura@shigemk2.com> (raw)
In-Reply-To: <20161217090625.13189-1-m_shigemura@shigemk2.com>
* lisp/progmodes/sh-script.el (sh-mode):
Add zsh string-match
---
lisp/progmodes/sh-script.el | 1 +
1 file changed, 1 insertion(+)
diff --git a/lisp/progmodes/sh-script.el b/lisp/progmodes/sh-script.el
index 5d362e4..a2c869d 100644
--- a/lisp/progmodes/sh-script.el
+++ b/lisp/progmodes/sh-script.el
@@ -1683,6 +1683,7 @@ sh-mode
((string-match "[.]bash\\>" buffer-file-name) "bash")
((string-match "[.]ksh\\>" buffer-file-name) "ksh")
((string-match "[.]t?csh\\(rc\\)?\\>" buffer-file-name) "csh")
+ ((string-match "[.]zsh\\(rc\\|env\\)?\\>" buffer-file-name) "zsh")
((equal (file-name-nondirectory buffer-file-name) ".profile") "sh")
(t sh-shell-file))
nil nil)
--
2.9.3
next prev parent reply other threads:[~2016-12-20 12:12 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-12-17 9:06 bug#25217: [PATCH] Enable sh-mode zshrc Michihito Shigemura
2016-12-19 9:31 ` Alan Third
2016-12-19 13:15 ` bug#25217: (no subject) Michihito Shigemura
2016-12-19 13:22 ` Alan Third
2016-12-20 12:12 ` Michihito Shigemura [this message]
2016-12-23 4:07 ` bug#25217: Michihito Shigemura
2016-12-24 9:51 ` bug#25217: Alan Third
2016-12-24 14:11 ` bug#25217: Michihito Shigemura
2016-12-25 19:55 ` bug#25217: Alan Third
2016-12-27 15:01 ` bug#25217: (no subject) Michihito Shigemura
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20161220121235.24490-1-m_shigemura@shigemk2.com \
--to=m_shigemura@shigemk2.com \
--cc=25217@debbugs.gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).