summaryrefslogtreecommitdiffstats
path: root/emacs
diff options
context:
space:
mode:
Diffstat (limited to 'emacs')
-rw-r--r--emacs/eshell-init.el9
1 files changed, 5 insertions, 4 deletions
diff --git a/emacs/eshell-init.el b/emacs/eshell-init.el
index 1dd8773..16f221d 100644
--- a/emacs/eshell-init.el
+++ b/emacs/eshell-init.el
@@ -28,10 +28,11 @@
" "
(propertize (oni:shorten-dir dir) 'face 'font-lock-string-face)
" "
- (propertize (when (not (string= branch ""))
- ;; Cut off "* " and "\n"
- (substring branch 2 -1))
- 'face 'font-lock-function-name-face)
+ (when (not (string= branch ""))
+ (propertize
+ ;; Cut off "* " and "\n"
+ (substring branch 2 -1)
+ 'face 'font-lock-function-name-face))
" \n"
(propertize (char-to-string userstatus)
'face `(:foreground ,(oni:color sky-blue-1)))