Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/certbot/certbot.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/.envrc
diff options
context:
space:
mode:
authorBrad Warren <bmw@users.noreply.github.com>2020-10-23 00:01:30 +0300
committerGitHub <noreply@github.com>2020-10-23 00:01:30 +0300
commitc250957ab0c456a90be37db1a22b3d1512182b09 (patch)
treebb5633a9f6adfae7ccc74833f8beb4b04d62c356 /.envrc
parent4eb0b560c59cea45a88dc1af5e3a5952e85fc8d0 (diff)
Add .envrc. (#8382)
Diffstat (limited to '.envrc')
-rw-r--r--.envrc12
1 files changed, 12 insertions, 0 deletions
diff --git a/.envrc b/.envrc
new file mode 100644
index 000000000..4d2077ebb
--- /dev/null
+++ b/.envrc
@@ -0,0 +1,12 @@
+# This file is just a nicety for developers who use direnv. When you cd under
+# the Certbot repo, Certbot's virtual environment will be automatically
+# activated and then deactivated when you cd elsewhere. Developers have to have
+# direnv set up and run `direnv allow` to allow this file to execute on their
+# system. You can find more information at https://direnv.net/.
+. venv3/bin/activate
+# direnv doesn't support modifying PS1 so we unset it to squelch the error
+# it'll otherwise print about this being done in the activate script. See
+# https://github.com/direnv/direnv/wiki/PS1. If you would like your shell
+# prompt to change like it normally does, see
+# https://github.com/direnv/direnv/wiki/Python#restoring-the-ps1.
+unset PS1