sh: detect *.(ba|z)sh$
This commit is contained in:
parent
54b32b58da
commit
18e086d8c0
|
@ -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…
Reference in New Issue
Block a user