From e8f6089380906f15508bbc17c0157f8652076643 Mon Sep 17 00:00:00 2001 From: Kjetil Orbekk Date: Fri, 17 Mar 2023 07:08:41 -0400 Subject: Update shell config --- emacs/.config/emacs-kj/init.el | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'emacs') diff --git a/emacs/.config/emacs-kj/init.el b/emacs/.config/emacs-kj/init.el index 10b5b9b..c26b876 100644 --- a/emacs/.config/emacs-kj/init.el +++ b/emacs/.config/emacs-kj/init.el @@ -107,8 +107,9 @@ (setq show-trailing-whitespace nil)))) ;; `M-x shell` settings -(setq shell-prompt-pattern "^[^#$%>\n]*[#$%>❯] *") -(setq explicit-shell-file-name "zsh") +(setq shell-prompt-pattern "^[^#$%>\n]*[#$%>❯] *" + explicit-shell-file-name "zsh" + explicit-zsh-args '("--login" "--interactive")) (defun kj/shell-buffer-name () (concat "*shell:" default-directory "*")) -- cgit v1.2.3