 
   (defun ar/eshell-mode-hook-function ()
     (smartparens-strict-mode +1)
+    (eshell-smart-initialize)
     (setq-local global-hl-line-mode nil)
     (setq-local company-backends '((company-projectile-cd))))
 

    :config
    (add-hook #'eshell-mode-hook
              (lambda ()
                (bind-key "M-r" #'helm-eshell-history eshell-mode-map))))

  (helm-mode 1)

  (use-package em-glob)
  (use-package esh-mode)
  (use-package em-dirs)
  (use-package em-smart)

  (validate-setq eshell-where-to-jump 'begin)
  (validate-setq eshell-review-quick-commands nil)
  (validate-setq eshell-smart-space-goes-to-end t)

  (validate-setq eshell-history-size (* 10 1024))
  (validate-setq eshell-hist-ignoredups t)
