Add space to AWS profile modeline string
This commit is contained in:
parent
6857bb849c
commit
79788d4ec0
@ -58,9 +58,9 @@
|
||||
"Displays the current AWS profile in the modeline." :global t
|
||||
(if aws-modeline-mode
|
||||
(add-to-list 'mode-line-misc-info
|
||||
'(:eval (format "AWS:%s " (or aws-current-profile "default"))))
|
||||
'(:eval (format " AWS:%s " (or aws-current-profile "default"))))
|
||||
(setq mode-line-misc-info
|
||||
(delete '(:eval (format "AWS:%s " (or aws-current-profile "default")))
|
||||
(delete '(:eval (format " AWS:%s " (or aws-current-profile "default")))
|
||||
mode-line-misc-info))))
|
||||
(add-hook 'after-init-hook #'aws-modeline-mode)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user