This repository has been archived on 2024-10-22. You can view files and clone it, but cannot push or open issues or pull requests.
spacemacs/layers/shell/config.el
syl20bnr 6b33031dc5 core: dotspacemacs-distribution, spacemacs-core layer and rename contrib
- Rename contrib directory to layers
- Add new variable dotspacemacs-distribution
- Move spacemacs layer to layers/!distribution
- New layer spacemacs-core in layers/!distribution
- User can now set dotspacemacs-distribution to spacemacs or
  spacemacs-core (default spacemacs)

spacemacs-core is very lightweight layer sufficient to build upon
spacemacs.
2015-09-07 23:44:43 -04:00

39 lines
1.3 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.")
(defvar shell-protect-eshell-prompt t
"If non-nil then eshell's prompt is protected. This means that
movement to the prompt is inhibited like for `comint-mode'
prompts and the prompt is made read-only")