sh: detect *.(ba|z)sh$
This commit is contained in:
parent
54b32b58da
commit
18e086d8c0
1 changed files with 2 additions and 1 deletions
|
@ -5,7 +5,8 @@
|
|||
:config
|
||||
(setq company-shell-delete-duplicates t))
|
||||
|
||||
(associate! sh-mode :match "/\\.?z\\(sh/.*\\|profile\\|login\\|logout\\|shrc\\|shenv\\)$")
|
||||
(associate! sh-mode :match "\\.\\(ba\\|z\\)sh$")
|
||||
(associate! sh-mode :match "/\\.?z\\(sh\\(/.*\\|$\\)\\|profile\\|login\\|logout\\|shrc\\|shenv\\)$")
|
||||
(associate! sh-mode :match "/\\.?bash\\(/.*\\|rc\\|_profile\\)$")
|
||||
(after! sh-script
|
||||
(add-hook 'sh-mode-hook 'flycheck-mode)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue