From 94e9d81206f0661ea6258adcb4e984292e7d0225 Mon Sep 17 00:00:00 2001
From: Kyle Meyer <kyle@kyleam.com>
Date: Tue, 24 Nov 2015 22:03:50 -0500
Subject: zsh-ansi-term: Don't hardcode zsh path

---
 lisp/init-external.el | 4 ++--
 1 file 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)
-- 
cgit v1.2.3