summaryrefslogtreecommitdiff
path: root/lisp
diff options
context:
space:
mode:
authorKyle Meyer <kyle@kyleam.com>2015-11-24 22:03:50 -0500
committerKyle Meyer <kyle@kyleam.com>2015-11-24 22:03:50 -0500
commit94e9d81206f0661ea6258adcb4e984292e7d0225 (patch)
tree40b798bbb17cdba4fd811a8a9dfc3fa4ff3a114d /lisp
parent11f4500d354e568020ee67136fa3efccb0c8aed1 (diff)
downloademacs.d-94e9d81206f0661ea6258adcb4e984292e7d0225.tar.gz
zsh-ansi-term: Don't hardcode zsh path
Diffstat (limited to 'lisp')
-rw-r--r--lisp/init-external.el4
1 files changed, 2 insertions, 2 deletions
diff --git a/lisp/init-external.el b/lisp/init-external.el
index 05af525..e765a6b 100644
--- a/lisp/init-external.el
+++ b/lisp/init-external.el
@@ -52,11 +52,11 @@ With any other non-nil value, prompt for a directory."
(default-directory dir))
(cond
((string= (km/zsh-ansi-term-directory) dir)
- (ansi-term "/bin/zsh" name))
+ (ansi-term "zsh" name))
((get-buffer full-name)
(switch-to-buffer full-name))
(t
- (ansi-term "/bin/zsh" name)))))
+ (ansi-term "zsh" name)))))
(defun km/zsh-toggle-ansi-term-home ()
(interactive)