summaryrefslogtreecommitdiffstats
path: root/emacs
diff options
context:
space:
mode:
authorGravatar Tom Willemsen2012-08-19 00:31:18 +0200
committerGravatar Tom Willemsen2012-08-19 00:31:18 +0200
commitf6b0811650b444da31920d675697569e6b36f218 (patch)
treeb824b065762e62c49fafc5984be208ef1ae1465f /emacs
parentc2efea9e6bb44dde3d4dd559568b48a22407f14f (diff)
downloaddotfiles-f6b0811650b444da31920d675697569e6b36f218.tar.gz
dotfiles-f6b0811650b444da31920d675697569e6b36f218.zip
emacs/eshell-init.el
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)))