mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2024-11-23 07:19:15 +00:00
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
This commit is contained in:
parent
2335b9100b
commit
8d1b753d52
@ -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")
|
||||
|
Loading…
Reference in New Issue
Block a user