summaryrefslogtreecommitdiff
path: root/lisp/terminal.el
blob: 334062e92350e980e5ab70e23eaf55fe2ce59b8b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
;;; shell.el -*- lexical-binding: t; -*-
;;;
;;; Author:  Jakob L. Kreuze <zerodaysfordays@sdf.org>
;;; URL:     https://git.sr.ht/~jakob/.emacs.d/
;;;
;;; `shell' is sometimes clunky, and I can't get `alacritty' to work on my
;;; Pinebook Pro anymore, so I've been experimenting with `vterm'. Thus far, it
;;; is a nice medium between the two, so I am considering dropping `shell'
;;; altogether, albeit with a very slow transition-out.
;;;

(defvar vterm-buffer-title nil
  "Title set by shell program.")

(use-package vterm
  :config
  (defun vterm--set-title (title)
    "Use TITLE to set the buffer name according to `vterm-buffer-name-string'."
    (setq vterm-buffer-title title)))

© 2015 - 2026 Jakob L. Kreuze