about summary refs log tree commit diff
path: root/users
diff options
context:
space:
mode:
Diffstat (limited to 'users')
-rw-r--r--users/tazjin/emacs/config/init.el3
1 files changed, 2 insertions, 1 deletions
diff --git a/users/tazjin/emacs/config/init.el b/users/tazjin/emacs/config/init.el
index 9f9573a3a8c7..9f34c60a8d25 100644
--- a/users/tazjin/emacs/config/init.el
+++ b/users/tazjin/emacs/config/init.el
@@ -165,7 +165,8 @@
   :config (progn
             (setq vterm-shell "fish")
             (setq vterm-exit-functions
-                  (lambda (&rest _) (kill-buffer (current-buffer))))))
+                  (lambda (&rest _) (kill-buffer (current-buffer))))
+            (setq vterm-kill-buffer-on-exit t)))
 
 ;; vterm removed the ability to set a custom title generator function
 ;; via the public API, so this overrides its private title generation