;; -*- coding: utf-8; lexical-binding: t -*-

;; Functions

(defun enzuru-configure-em-smart ()
  (setq eshell-where-to-jump 'begin)
  (setq eshell-review-quick-commands nil)
  (setq eshell-smart-space-goes-to-end t))

(defun enzuru-configure-eshell ()
      (add-hook 'eshell-mode-hook
                (lambda ()
                  (setq-local corfu-auto nil)
                  (corfu-mode))))

;; Packages

(require 'em-smart)
(enzuru-configure-eshell)
(enzuru-configure-em-smart)

(provide 'enzuru-shell)
