Below pretty much says it all. I want to show line numbers automatically in bash scripts (a habit of being a programmer) and when I load an emacs lisp file it works from the command below but the following command that sets up the same thing for bash scripts doesn’t work. I played around with this for quite some time and couldn’t find anything that would make work.
This is the first time I have tried to customize emacs so it could easily be something ignorant on my part.
;; Load additional packages
(load-file “~/.elisp/whitespace.el”)
(load-file “~/.elisp/setnu+.el”)
;; Set modes automatically from loaded packages
(add-hook 'text-mode-hook 'turn-on-setnu-mode)
(add-hook 'emacs-lisp-mode-hook 'turn-on-setnu-mode)
(add-hook 'shell-bash-mode-hook 'turn-on-setnu-mode) ;; Not working for some reason.