Commit 009cb082 authored by Duncan Bayne's avatar Duncan Bayne

Don't assume the location of zsh

This fixes my multi-term configuration on FreeBSD
parent a7e0d4db
(setq multi-term-program "zsh")
(defun utils:add-to-load-path (path-list)
"Adds each path in path-list to the load path."
(mapcar
......@@ -29,14 +31,12 @@
(switch-to-buffer new-buffer-name)
(progn
(require 'multi-term)
(setq multi-term-program "/usr/bin/zsh")
(set-buffer (multi-term))
(rename-buffer new-buffer-name))))))
(defun utils:create-terminals (terminal-names)
"Creates terminals with the specified names using multi-term."
(require 'multi-term)
(setq multi-term-program "/usr/bin/zsh")
(mapcar
(lambda (desired-name)
(utils:create-or-switch-to-term desired-name))
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment