mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-03-14 10:51:20 -07:00
* lisp/files.el (auto-mode-alist): Recognize /etc/profile as sh.
This commit is contained in:
parent
618653aed0
commit
39cdf4726c
1 changed files with 2 additions and 0 deletions
|
|
@ -3114,6 +3114,8 @@ since only a single case-insensitive search through the alist is made."
|
|||
;; Bash builtin 'fc' creates a temp file named "bash-fc.XXXXXX"
|
||||
;; to edit shell commands from its history list.
|
||||
("/bash-fc\\.[0-9A-Za-z]\\{6\\}\\'" . sh-mode)
|
||||
;; A login sh first attempts to read /etc/profile.
|
||||
("\\`/etc/profile\\'" . sh-mode)
|
||||
("/PKGBUILD\\'" . sh-mode)
|
||||
("\\(/\\|\\`\\)\\.\\(bash_\\(profile\\|history\\|log\\(in\\|out\\)\\)\\|z?log\\(in\\|out\\)\\)\\'" . sh-mode)
|
||||
("\\(/\\|\\`\\)\\.\\(shrc\\|zshrc\\|m?kshrc\\|bashrc\\|t?cshrc\\|esrc\\)\\'" . sh-mode)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue