summaryrefslogblamecommitdiff
path: root/config/init-eshell.el
blob: 856b8ead6f8efeae214bcc1e5abab8868aafd9bb (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11










                                                                  
                                   
         


                                        
                               
                                   

                                 
                            



                            
;;; init-eshell.el --- configure eshell -*- lexical-binding: t -*-
;; Author: Franck Cuny <franck@fcuny.net>

;;; Commentary:

;; configure eshell

;;; Code:

(use-package eshell
  :commands (eshell eshell-command)
  :bind (("C-r" . consult-history))
  :custom
  (eshell-hist-ignoredups t)
  (eshell-history-size 50000)
  (eshell-ls-dired-initial-args '("-h"))
  (eshell-ls-initial-args "-h")
  (eshell-ls-exclude-regexp "~\\'")
  (eshell-save-history-on-exit t)
  (eshell-stringify-t nil)
  (eshell-term-name "ansi"))

(provide 'init-eshell)

;;; init-eshell.el ends here