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.
This commit is contained in:
parent
85b36c4aec
commit
d298a8e71c
1 changed files with 5 additions and 8 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue