Closed mankoff closed 9 years ago
I suppose you can write own term function for passing command line options as below.
(defun my/term (program)
(set-buffer (make-term "terminal" program nil "-l"))
(term-mode)
(term-char-mode)
(switch-to-buffer "*terminal*"))
(custom-set-variables
'(shell-pop-term-shell "/usr/local/bin/bash")
'(shell-pop-shell-type (quote ("terminal" "*terminal*"
(lambda () (my/term shell-pop-term-shell))))))
Yes that seems to work. Thank you.
(setq shell-pop-term-shell "/usr/local/bin/bash -l")
doesn't seem to source my~/.bash_profile
. Is there some other way to getshell-pop
to use a login shell?