Update README to reflect new env system

This commit is contained in:
Henrik Lissner 2019-03-06 20:51:40 -05:00
parent a73cc3d112
commit 80e4076bbc
No known key found for this signature in database
GPG key ID: 5F6C0EA160557395

View file

@ -180,11 +180,23 @@ Strongly recommend to use
;; The interval of checking github. ;; The interval of checking github.
(setq doom-modeline-github-interval (* 30 60)) (setq doom-modeline-github-interval (* 30 60))
;; Whether display environment version or not. ;; Whether display environment version or not
(setq doom-modeline-env-version t) (setq doom-modeline-env-version t)
;; Or for individual languages
(setq doom-modeline-env-enable-python t)
(setq doom-modeline-env-enable-ruby t)
(setq doom-modeline-env-enable-perl t)
(setq doom-modeline-env-enable-go t)
(setq doom-modeline-env-enable-elixir t)
(setq doom-modeline-env-enable-rust t)
;; What executable of Python will be used (if nil nothing will be showed). ;; Change the executables to use for the language version string
(setq doom-modeline-python-executable "python") (setq doom-modeline-env-python-executable "python")
(setq doom-modeline-env-ruby-executable "ruby")
(setq doom-modeline-env-perl-executable "perl")
(setq doom-modeline-env-go-executable "go")
(setq doom-modeline-env-elixir-executable "iex")
(setq doom-modeline-env-rust-executable "rustc")
;; Whether display mu4e notifications or not. Requires `mu4e-alert' package. ;; Whether display mu4e notifications or not. Requires `mu4e-alert' package.
(setq doom-modeline-mu4e t) (setq doom-modeline-mu4e t)