From e8a0f5e8334f97a8f3f96a8256ca7ff56e9327fa Mon Sep 17 00:00:00 2001 From: Gaelan D'costa Date: Thu, 22 Sep 2016 02:21:27 -0400 Subject: [PATCH] pretzo -> prezto (#1034) --- modules/prelude-shell.el | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/modules/prelude-shell.el b/modules/prelude-shell.el index 1d00a31..8ab6823 100644 --- a/modules/prelude-shell.el +++ b/modules/prelude-shell.el @@ -34,17 +34,17 @@ (require 'sh-script) -;; recognize pretzo files as zsh scripts -(defvar prelude-pretzo-files '("zlogin" "zlogin" "zlogout" "zpretzorc" "zprofile" "zshenv" "zshrc")) +;; recognize prezto files as zsh scripts +(defvar prelude-prezto-files '("zlogin" "zlogin" "zlogout" "zpreztorc" "zprofile" "zshenv" "zshrc")) (mapc (lambda (file) (add-to-list 'auto-mode-alist `(,(format "\\%s\\'" file) . sh-mode))) - prelude-pretzo-files) + prelude-prezto-files) (add-hook 'sh-mode-hook (lambda () (if (and buffer-file-name - (member (file-name-nondirectory buffer-file-name) prelude-pretzo-files)) + (member (file-name-nondirectory buffer-file-name) prelude-prezto-files)) (sh-set-shell "zsh")))) (provide 'prelude-shell)