mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-05 12:37:33 -05:00
sh: detect *.(ba|z)sh$
This commit is contained in:
@ -5,7 +5,8 @@
|
|||||||
:config
|
:config
|
||||||
(setq company-shell-delete-duplicates t))
|
(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\\)$")
|
(associate! sh-mode :match "/\\.?bash\\(/.*\\|rc\\|_profile\\)$")
|
||||||
(after! sh-script
|
(after! sh-script
|
||||||
(add-hook 'sh-mode-hook 'flycheck-mode)
|
(add-hook 'sh-mode-hook 'flycheck-mode)
|
||||||
|
Reference in New Issue
Block a user