Skip to content

Instantly share code, notes, and snippets.

@rogeruiz
Last active August 26, 2022 15:29
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Save rogeruiz/7cb7f1fb4800a15a47b3a70a79b28c5c to your computer and use it in GitHub Desktop.
My super simple MilMove local .envrc
# It takes me a little longer to open 1Pass to get my MFA number.
export DIRENV_WARN_TIMEOUT="90s"
# Create a DB_URL that I can consume in scripts and things
export DB_URL="postgres://${DB_USER}:${DB_PASSWORD}@${DB_HOST}:${DB_PORT}/${DB_NAME}"
@rogeruiz
Copy link
Author

rogeruiz commented Aug 26, 2022

it's a shame though that Chamber .envrc gets loaded before my local file which means this DIRENV_WARN_TIMEOUT timeout only works if my Chamber session expires and not in the initial Chamber session that happens after changing into the directory.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment