From 80e4076bbcdcebad7ba3b5845725ac499aa0ae13 Mon Sep 17 00:00:00 2001 From: Henrik Lissner Date: Wed, 6 Mar 2019 20:51:40 -0500 Subject: [PATCH] Update README to reflect new env system --- README.md | 18 +++++++++++++++--- 1 file changed, 15 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 8c791f2..9f57927 100644 --- a/README.md +++ b/README.md @@ -180,11 +180,23 @@ Strongly recommend to use ;; The interval of checking github. (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) +;; 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). -(setq doom-modeline-python-executable "python") +;; Change the executables to use for the language version string +(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. (setq doom-modeline-mu4e t)