emacs/eshell-init.el

This commit is contained in:
Tom Willemsen 2012-08-19 00:31:18 +02:00
parent c2efea9e6b
commit f6b0811650

View file

@ -28,10 +28,11 @@
" " " "
(propertize (oni:shorten-dir dir) 'face 'font-lock-string-face) (propertize (oni:shorten-dir dir) 'face 'font-lock-string-face)
" " " "
(propertize (when (not (string= branch "")) (when (not (string= branch ""))
;; Cut off "* " and "\n" (propertize
(substring branch 2 -1)) ;; Cut off "* " and "\n"
'face 'font-lock-function-name-face) (substring branch 2 -1)
'face 'font-lock-function-name-face))
" \n" " \n"
(propertize (char-to-string userstatus) (propertize (char-to-string userstatus)
'face `(:foreground ,(oni:color sky-blue-1))) 'face `(:foreground ,(oni:color sky-blue-1)))