Compare commits
2 Commits
251268265b
...
c5282b7460
Author | SHA1 | Date | |
---|---|---|---|
c5282b7460 | |||
8addb138b5 |
@ -54,6 +54,15 @@
|
||||
"AWS MFA failed, check *aws-mfa* buffer for details"))
|
||||
(process-send-string proc (concat mfa-token "\n"))))
|
||||
|
||||
(define-minor-mode aws-modeline-mode
|
||||
"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"))))
|
||||
(setq mode-line-misc-info
|
||||
(delete '(:eval (format "AWS:%s " (or aws-current-profile "default")))
|
||||
mode-line-misc-info))))
|
||||
|
||||
;; A dired interface to S3
|
||||
(use-package s3ed
|
||||
:commands (s3ed-find-file
|
||||
|
@ -15,7 +15,9 @@
|
||||
(use-package doom-themes)
|
||||
(use-package doom-modeline
|
||||
:config
|
||||
(doom-modeline-mode 1))
|
||||
(doom-modeline-mode 1)
|
||||
:custom
|
||||
(doom-modeline-env-version nil))
|
||||
|
||||
;; Load custom themes
|
||||
(add-to-list 'custom-theme-load-path (expand-file-name "config/themes" user-emacs-directory))
|
||||
|
Loading…
Reference in New Issue
Block a user