Disable line numbers in shells

This commit is contained in:
Diego Berrocal 2015-10-24 16:56:58 -04:00 committed by Eivind Fonn
parent 5473d441d4
commit 23f43af23c
1 changed files with 2 additions and 0 deletions

View File

@ -95,6 +95,7 @@ is achieved by adding the relevant text properties."
(defun spacemacs//init-eshell ()
"Stuff to do when enabling eshell."
(setq pcomplete-cycle-completions nil)
(if linum-mode (linum-mode -1))
(unless shell-enable-smart-eshell
;; we don't want auto-jump to prompt when smart eshell is enabled.
;; Idea: maybe we could make auto-jump smarter and jump only if the
@ -256,6 +257,7 @@ is achieved by adding the relevant text properties."
(kill-buffer (process-buffer proc))
(delete-window))))))
(add-hook 'term-mode-hook 'ansi-term-handle-close)
(add-hook 'term-mode-hook (lambda () (linum-mode -1)))
(defun spacemacs/default-pop-shell ()
"Open the default shell in a popup."