mirror of
https://gitlab.com/dwt1/dotfiles.git
synced 2026-08-11 02:21:14 +10:00
Adding a fancy prompt for eshell.
This commit is contained in:
+14
-9
@@ -1,8 +1,9 @@
|
||||
(add-to-list 'load-path "~/.config/emacs/scripts/")
|
||||
|
||||
(require 'elpaca-setup) ;; The Elpaca Package Manager
|
||||
(require 'buffer-move) ;; Buffer-move for better window management
|
||||
(require 'app-launchers) ;; Use emacs as a run launcher like dmenu (experimental)
|
||||
(require 'buffer-move) ;; Buffer-move for better window management
|
||||
(require 'eshell-prompt) ;; A fancy prompt for eshell
|
||||
|
||||
(use-package all-the-icons
|
||||
:ensure t
|
||||
@@ -568,14 +569,14 @@
|
||||
|
||||
(eval-after-load 'org-indent '(diminish 'org-indent-mode))
|
||||
|
||||
(custom-set-faces
|
||||
'(org-level-1 ((t (:inherit outline-1 :height 1.7))))
|
||||
'(org-level-2 ((t (:inherit outline-2 :height 1.6))))
|
||||
'(org-level-3 ((t (:inherit outline-3 :height 1.5))))
|
||||
'(org-level-4 ((t (:inherit outline-4 :height 1.4))))
|
||||
'(org-level-5 ((t (:inherit outline-5 :height 1.3))))
|
||||
'(org-level-6 ((t (:inherit outline-5 :height 1.2))))
|
||||
'(org-level-7 ((t (:inherit outline-5 :height 1.1)))))
|
||||
(custom-set-faces
|
||||
'(org-level-1 ((t (:inherit outline-1 :height 1.7))))
|
||||
'(org-level-2 ((t (:inherit outline-2 :height 1.6))))
|
||||
'(org-level-3 ((t (:inherit outline-3 :height 1.5))))
|
||||
'(org-level-4 ((t (:inherit outline-4 :height 1.4))))
|
||||
'(org-level-5 ((t (:inherit outline-5 :height 1.3))))
|
||||
'(org-level-6 ((t (:inherit outline-5 :height 1.2))))
|
||||
'(org-level-7 ((t (:inherit outline-5 :height 1.1)))))
|
||||
|
||||
(require 'org-tempo)
|
||||
|
||||
@@ -655,6 +656,10 @@
|
||||
(setq use-dialog-box nil) ;; No dialog box
|
||||
(setq pop-up-windows nil) ;; No popup windows
|
||||
|
||||
(setopt eshell-prompt-function 'fancy-shell)
|
||||
(setopt eshell-prompt-regexp "^[^#$\n]* [$#] ")
|
||||
(setopt eshell-highlight-prompt nil)
|
||||
|
||||
(use-package eshell-toggle
|
||||
:custom
|
||||
(eshell-toggle-size-fraction 3)
|
||||
|
||||
Reference in New Issue
Block a user