                             term-mode-hook)))
 
 (defun shell/init-term ()
+  (spacemacs/register-repl 'term 'term)
+  (spacemacs/register-repl 'term 'ansi-term)
   (defun term-send-tab ()
     "Send tab in term mode."
     (interactive)

        (setq eshell-output-filter-functions (remove 'eshell-handle-ansi-color eshell-output-filter-functions))))))

(defun shell/init-shell ()
  (defun shell-comint-input-sender-hook ()
    "Check certain shell commands.
 Executes the appropriate behavior for certain commands."

    :defer t
    :init
    (progn
      (spacemacs/register-repl 'eshell 'eshell)
      (setq eshell-cmpl-cycle-completions nil
            ;; auto truncate after 20k lines
            eshell-buffer-maximum-lines 20000
