From 8d1b753d528f741580e48d2b4a6c9b40ca06c08d Mon Sep 17 00:00:00 2001 From: Matt Armstrong Date: Sat, 10 Dec 2016 17:29:51 -0800 Subject: [PATCH] Minor shell-mode fix for zsh * lisp/shell.el (shell-mode): Prevent shell-dirstack-query becoming confused by zsh abbreviations. (Bug#24632) Copyright-paperwork-exempt: yes --- lisp/shell.el | 1 + 1 file changed, 1 insertion(+) diff --git a/lisp/shell.el b/lisp/shell.el index d1b2e875746..cabd1e5a474 100644 --- a/lisp/shell.el +++ b/lisp/shell.el @@ -590,6 +590,7 @@ buffer." ((string-equal shell "ksh") "echo $PWD ~-") ;; Bypass any aliases. TODO all shells could use this. ((string-equal shell "bash") "command dirs") + ((string-equal shell "zsh") "dirs -l") (t "dirs"))) ;; Bypass a bug in certain versions of bash. (when (string-equal shell "bash") -- 2.39.2