Skip to content

Commit

Permalink
add instructions for setting shell for multi-term
Browse files Browse the repository at this point in the history
Fixes #5818
  • Loading branch information
d12frosted committed Oct 13, 2018
1 parent 5f27eee commit 4929f62
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions layers/+tools/shell/README.org
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
- [[#default-shell][Default shell]]
- [[#default-shell-position-width-and-height][Default shell position, width, and height]]
- [[#set-shell-for-term-and-ansi-term][Set shell for term and ansi-term]]
- [[#set-shell-for-multi-term][Set shell for multi-term]]
- [[#width-of-the-shell-popup-buffers][Width of the shell popup buffers]]
- [[#enable-em-smart-in-eshell][Enable em-smart in Eshell]]
- [[#protect-your-eshell-prompt][Protect your Eshell prompt]]
Expand Down Expand Up @@ -42,6 +43,7 @@ You can find a quick introductions to them [[https://www.masteringemacs.org/arti

To define the default shell you can set the layer variable =shell-default-shell=
to the following variables:

- =eshell=
- =shell=
- =term=
Expand Down Expand Up @@ -85,6 +87,15 @@ Default value is =/bin/bash=.
'((shell :variables shell-default-term-shell "/bin/bash")))
#+END_SRC

** Set shell for multi-term
The default shell can be set by setting the variable =multi-term-program=.
Default value is =/bin/bash=.

#+BEGIN_SRC emacs-lisp
(setq-default dotspacemacs-configuration-layers
'((shell :variables multi-term-program "/bin/bash")))
#+END_SRC

** Width of the shell popup buffers
By default the popup buffer spans the full width of the current frame, if
you prefer to spans only the width of the current window then set the
Expand Down

0 comments on commit 4929f62

Please sign in to comment.