Navigation Menu

Skip to content

Commit

Permalink
Merge pull request #3282 from transcom/gm-add-zsh-direnv-hook
Browse files Browse the repository at this point in the history
Add zsh direnv hook instruction
  • Loading branch information
Garrett Martin committed Jan 7, 2020
2 parents 2709c7f + b3e44b6 commit 910167d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Expand Up @@ -213,7 +213,7 @@ Run `make prereqs` and install everything it tells you to. Most of the prerequis

### Setup: Direnv

For managing local environment variables, we're using [direnv](https://direnv.net/). You need to [configure your shell to use it](https://direnv.net/). For bash, add the command `eval "$(direnv hook bash)"` to whichever file loads upon opening bash (likely `~/.bash_profile`, though instructions say `~/.bashrc`).
For managing local environment variables, we're using [direnv](https://direnv.net/). You need to [configure your shell to use it](https://direnv.net/). For bash, add the command `eval "$(direnv hook bash)"` to whichever file loads upon opening bash (likely `~/.bash_profile`, though instructions say `~/.bashrc`). For zsh, add `eval "$(direnv hook zsh)"` to `~/.zshrc`.

Run `direnv allow` to load up the `.envrc` file. It should complain that you have missing variables which you will rectify in one of the following ways.

Expand Down

0 comments on commit 910167d

Please sign in to comment.