spacemacs/contrib/shell/config.el
syl20bnr f88bb0cdff shell layer: various improvements for eshell see below
- move the magit, helm and other dependencies to their own init
functions
- remove all nested use-package forms and enable correct lazy-loading
of eshell
- import interesting features from trishume like auto-completion and
automatic jump to prompt when switching to insert state
- new layer variable `shell-enable-smart-eshell` to conditionally enable
`em-smart` (default is not enabled)
- document all the last additions to the layer in README.org
2015-07-08 00:57:15 -04:00

35 lines
1.1 KiB
EmacsLisp

;;; config.el --- shell configuration File for Spacemacs
;;
;; Copyright (c) 2012-2014 Sylvain Benner
;; Copyright (c) 2014-2015 Sylvain Benner & Contributors
;;
;; Author: Sylvain Benner <sylvain.benner@gmail.com>
;; URL: https://github.com/syl20bnr/spacemacs
;;
;; This file is not part of GNU Emacs.
;;
;;; License: GPLv3
;; Variables
(spacemacs|defvar-company-backends eshell-mode)
(defvar shell-default-shell (if (eq window-system 'w32)
'eshell
'ansi-term)
"Default shell to use in Spacemacs. Possible values are `eshell', `shell',
`term' and `ansi-term'.")
(defvar shell-default-position 'bottom
"Position of the shell. Possible values are `top', `bottom' and `full'.")
(defvar shell-default-height 30
"Height in percents for the shell window.")
(defvar shell-default-term-shell "/bin/bash"
"Default shell to use in `term' and `ansi-term' shells.")
(defvar shell-enable-smart-eshell nil
"If non-nil then `em-smart' is enabled. `em-smart' allows to quickly review
commands, modify old commands or enter a new one.")