Skip to content

Commit

Permalink
mv .envrc → .envrc.example
Browse files Browse the repository at this point in the history
It isn’t a good idea to make a personal configuration file hard to work
with since it’s being tracked by the repository. This will a) trigger
``direnv`` to fire off its allow script before a use gets a chance to
see what arbitrary code is about to be executed on their behalf & b) make
making modifications more difficult as it would be easy to accidentally
commit those modifications *or* requires addings all sorts of
unnecessary extra configuration to allow a safe place to put in custom
environment variables.

The simple solution is to just leave an example for those that want it.
  • Loading branch information
toastal committed Apr 1, 2024
1 parent 3e0abf9 commit 8861071
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 0 deletions.
File renamed without changes.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -10,3 +10,4 @@
/.ghc.environment.*
/result
/.direnv
.envrc

0 comments on commit 8861071

Please sign in to comment.