mirror of
https://codeberg.org/scip/dot-emacs.git
synced 2025-12-19 13:30:57 +01:00
changes here and there
This commit is contained in:
@@ -11,7 +11,7 @@
|
||||
|
||||
;; custom prompt, which resembles my bash prompt
|
||||
(defun shk-eshell-prompt ()
|
||||
(let ((header-bg "Azure"))
|
||||
(let ((header-bg "White"))
|
||||
(concat
|
||||
(with-face "\n")
|
||||
(with-face (format-time-string
|
||||
@@ -23,9 +23,9 @@
|
||||
(ignore-errors (format "(%s)" (vc-responsible-backend default-directory)))
|
||||
"") :background header-bg)
|
||||
(with-face "\n" :background header-bg)
|
||||
(with-face user-login-name :foreground "blue")
|
||||
(with-face user-login-name :foreground "DarkOrange")
|
||||
"@"
|
||||
(with-face "localhost" :foreground "blue")
|
||||
(with-face "localhost" :foreground "DarkOrange")
|
||||
(if (= (user-uid) 0)
|
||||
(with-face " #" :foreground "red")
|
||||
" $")
|
||||
@@ -209,6 +209,9 @@ a list symbol describing the command."
|
||||
;; no need for less or more, this is emacs, isn't it?
|
||||
(setenv "PAGER" "cat")
|
||||
|
||||
;; much better replacement for eshell!
|
||||
(use-package vterm
|
||||
:ensure t)
|
||||
|
||||
(provide 'init-eshell)
|
||||
;;; init-eshell.el ends here
|
||||
|
||||
Reference in New Issue
Block a user