Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1594)

Unified Diff: go/README.md

Issue 2121653002: Fix prompt exporting escaped characters, opt into PS1 mod. (Closed) Base URL: https://chromium.googlesource.com/infra/infra.git@master
Patch Set: Fix pylint error. Created 4 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | go/bootstrap.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: go/README.md
diff --git a/go/README.md b/go/README.md
index d589ac5e6d052abf9b2b57b0eb0870de7d441f95..28a69c60af9c1cfda7bb0bd6d6097c11121d65fd 100644
--- a/go/README.md
+++ b/go/README.md
@@ -96,6 +96,11 @@ Alternatively `go/env.py` can be used as a wrapping command that sets up an
environment and invokes some other process. It is particularly useful on
Windows.
+If the `INFRA_PROMPT_TAG` environment variable is exported while running
+`go/env.py`, the new environment will include a modified `PS1` prompt containing
+the `INFRA_PROMPT_TAG` value to indicate that the modified environment is being
+used. By default, this value is "[cr go] ", but it can be changed by exporting
+a different value or disabled by exporting an empty value.
## Dependency management
« no previous file with comments | « no previous file | go/bootstrap.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698