emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] master 8d1b753: Minor shell-mode fix for zsh


From: Glenn Morris
Subject: [Emacs-diffs] master 8d1b753: Minor shell-mode fix for zsh
Date: Sun, 11 Dec 2016 01:32:10 +0000 (UTC)

branch: master
commit 8d1b753d528f741580e48d2b4a6c9b40ca06c08d
Author: Matt Armstrong <address@hidden>
Commit: Glenn Morris <address@hidden>

    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 d1b2e87..cabd1e5 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")



reply via email to

[Prev in Thread] Current Thread [Next in Thread]