From d298a8e71c6624415392918afbac06fd8c63a6f4 Mon Sep 17 00:00:00 2001 From: Henrik Lissner Date: Thu, 15 Aug 2019 16:07:16 -0400 Subject: [PATCH] Update envvar file comment header Envvar files are now refreshed on `doom refresh`, if it exists. A while back I removed the `doom env reload` step. --- core/cli/env.el | 13 +++++-------- 1 file changed, 5 insertions(+), 8 deletions(-) diff --git a/core/cli/env.el b/core/cli/env.el index e880f3ea3..9a1240bda 100644 --- a/core/cli/env.el +++ b/core/cli/env.el @@ -116,16 +116,13 @@ default, on Linux, this is '$SHELL -ic /usr/bin/env'. Variables in doom-env-switches doom-env-executable) "# ---------------------------------------------------------------------------\n" - "# This file was auto-generated by `doom env refresh'. It contains a list of\n" - "# environment variables scraped from your default shell (excluding variables\n" - "# blacklisted in doom-env-ignored-vars).\n" + "# This file was auto-generated by `doom env'. It contains a list of environment\n" + "# variables scraped from your default shell (excluding variables blacklisted\n" + "# in doom-env-ignored-vars).\n" "#\n" "# It is NOT safe to edit this file. Changes will be overwritten next time that\n" - "# `doom env refresh` is executed. Alternatively, create your own env file and\n" - "# load it with `(doom-load-envvars-file FILE)`.\n" - "#\n" - "# To auto-regenerate this file when `doom reload` is run, use `doom env auto' or\n" - "# set DOOMENV=1 in your shell environment/config.\n" + "# `doom refresh` is executed. Alternatively, create your own env file and load\n" + "# it with `(doom-load-envvars-file FILE)` in your private config.el.\n" "# ---------------------------------------------------------------------------\n\n")) (goto-char (point-min)) (while (re-search-forward "\n\\([^= \n]+\\)=" nil t)