lang/sh: remove /bin/* fallback mode assocation

Now that doom-guess-mode-h exists (which will set the major mode when
you save a file in fundamental-mode), this association isn't needed
anymore (because doom-guess-mode-h will deduce the mode from the
shebang line).
This commit is contained in:
Henrik Lissner 2019-10-20 12:56:18 -04:00
parent 7e3849be67
commit 8b18604b63
No known key found for this signature in database
GPG key ID: 5F6C0EA160557395

View file

@ -13,8 +13,6 @@
(use-package! sh-script ; built-in
:mode ("\\.zunit\\'" . sh-mode)
:mode ("/bspwmrc\\'" . sh-mode)
:init
(add-to-list 'auto-mode-alist '("/bin/[^/]+\\'" . sh-mode) 'append)
:config
(set-electric! 'sh-mode :words '("else" "elif" "fi" "done" "then" "do" "esac" ";;"))
(set-repl-handler! 'sh-mode #'+sh/open-repl)