changes here and there

This commit is contained in:
2025-11-19 09:22:40 +01:00
parent 6a9a4068a0
commit bd42d183bc
9 changed files with 71 additions and 22 deletions

View File

@@ -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