projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2335b91
)
Minor shell-mode fix for zsh
author
Matt Armstrong
<marmstrong@google.com>
Sun, 11 Dec 2016 01:29:51 +0000
(17:29 -0800)
committer
Glenn Morris
<rgm@gnu.org>
Sun, 11 Dec 2016 01:29:51 +0000
(17:29 -0800)
* lisp/shell.el (shell-mode): Prevent shell-dirstack-query
becoming confused by zsh abbreviations. (Bug#24632)
Copyright-paperwork-exempt: yes
lisp/shell.el
patch
|
blob
|
history
diff --git
a/lisp/shell.el
b/lisp/shell.el
index d1b2e87574639af952156f34d4fc5d05a61c025d..cabd1e5a47413c500564db45b3159c34f8ddf1b6 100644
(file)
--- 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")