     :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

                            term-mode-hook)))

(defun shell/init-term ()
  (defun term-send-tab ()
    "Send tab in term mode."
    (interactive)

    :defer t
    :init
    (progn
      (spacemacs/register-repl 'multi-term 'multi-term)
      (spacemacs/set-leader-keys "ast" 'shell-pop-multi-term)
      (defun multiterm (_)
        "Wrapper to be able to call multi-term from shell-pop"
