From 258a325eb90cc516231714fb329a0ad876ea537f Mon Sep 17 00:00:00 2001 From: Brian Leung Date: Fri, 1 Jan 2021 18:56:41 -0800 Subject: [PATCH 1/4] shell-mode: use "~/.zsh_history" as a history file * lisp/shell.el (shell-mode): Add "~/.zsh_history". --- lisp/shell.el | 1 + 1 file changed, 1 insertion(+) diff --git a/lisp/shell.el b/lisp/shell.el index c179dd24d3..0f866158fe 100644 --- a/lisp/shell.el +++ b/lisp/shell.el @@ -603,6 +603,7 @@ shell-mode (or hfile (cond ((string-equal shell "bash") "~/.bash_history") ((string-equal shell "ksh") "~/.sh_history") + ((string-equal shell "zsh") "~/.zsh_history") (t "~/.history"))))) (if (or (equal comint-input-ring-file-name "") (equal (file-truename comint-input-ring-file-name) -- 2.29.2