Permalink
Browse files

Yeah, it would be fun to actually source the .env once it's authorize…

…d :)

Minor detail.
  • Loading branch information...
1 parent 94bf47d commit 965dfb41786f05b0afa1f2e965f2a1d85a78e202 @nvie committed Feb 15, 2012
Showing with 3 additions and 1 deletion.
  1. +3 −1 activate.sh
View
@@ -67,7 +67,9 @@ autoenv_check_authz_and_run()
{
typeset envfile
envfile=$1
- if ! autoenv_check_authz "$envfile"; then
+ if autoenv_check_authz "$envfile"; then
+ source "$envfile"
+ else
autoenv_env
autoenv_env "WARNING:"
autoenv_env "This is the first time you are about to source $envfile":

1 comment on commit 965dfb4

Please sign in to comment.