From 30a7ff12274ae1849047677f407c1e0718e0e3b7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C5=81ukasz=20Pankowski?= Date: Mon, 16 Dec 2019 21:12:05 +0100 Subject: [PATCH] term: another hook needed for fish shell to display properly in Emacs 26 --- init.el | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/init.el b/init.el index 7f851c9..a6aa6b1 100644 --- a/init.el +++ b/init.el @@ -312,7 +312,10 @@ (use-package helm-mt :bind (("C-c z" . helm-mt)) - :hook (term-exec . toggle-truncate-lines)) + ;; hooks for fish shell (term-mode for Emacs 26 and term-exec for + ;; Emacs 27) + :hook ((term-mode . toggle-truncate-lines) + (term-exec . toggle-truncate-lines))) ;;; ### Git ###