summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--emacs/.config/emacs-kj/init.el5
1 files changed, 3 insertions, 2 deletions
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 "*"))