From c250957ab0c456a90be37db1a22b3d1512182b09 Mon Sep 17 00:00:00 2001 From: Brad Warren Date: Thu, 22 Oct 2020 14:01:30 -0700 Subject: [PATCH] Add .envrc. (#8382) --- .envrc | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 .envrc 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