summaryrefslogtreecommitdiff
path: root/.emacs.d/snippets/apollo-eshell.el
diff options
context:
space:
mode:
authorThanos Apollo <[email protected]>2023-02-10 06:41:33 +0200
committerGitHub <[email protected]>2023-02-10 06:41:33 +0200
commitf68a4b1d3234b1a154d8aa293d2891d4280e559a (patch)
treed227a078b10bac5b9b85b1057589f8182bff2b97 /.emacs.d/snippets/apollo-eshell.el
parent53762337d4e35d320dc7ad543dfdf5cbb0256866 (diff)
parent94909bbe12ada172c63387025bad189f4a851b84 (diff)
Merge pull request #5 from ThanosApollo/org-config
Update literate configuration, adding qtile
Diffstat (limited to '.emacs.d/snippets/apollo-eshell.el')
-rw-r--r--.emacs.d/snippets/apollo-eshell.el23
1 files changed, 0 insertions, 23 deletions
diff --git a/.emacs.d/snippets/apollo-eshell.el b/.emacs.d/snippets/apollo-eshell.el
deleted file mode 100644
index aba141d..0000000
--- a/.emacs.d/snippets/apollo-eshell.el
+++ /dev/null
@@ -1,23 +0,0 @@
-
-(defun with-face (str &rest face-plist)
- (propertize str 'face face-plist))
-
-(defun apollo-eshell-prompt ()
- (let ((winter-blue "#3F3B6C")
- (white-summer "#E5E5CB")
- (green-night "#03C988")
- (orange-summer "#FFB100")
- (green-summer "#A3BB98")
- (summer-sea "#2192FF")
- (black "#000000"))
- (concat
- (with-face (concat "[" user-login-name) :foreground orange-summer :background black)
- (with-face "@" :foreground orange-summer :background black)
- (with-face (concat system-name "]\n") :foreground orange-summer :background black)
- (with-face (concat "|" (eshell/pwd) ) :foreground "#F0E9D2" :background winter-blue)
- (with-face (format-time-string " | %H:%M" (current-time)) :background winter-blue :foreground "#888")
- (with-face "\n -> "))))
-
-(setq eshell-prompt-function 'apollo-eshell-prompt)
-(setq eshell-highlight-prompt t)
-