about summary refs log tree commit diff
path: root/.envrc
AgeCommit message (Collapse)AuthorFilesLines
2020-01-22 Drop support for ORG_DIRECTORY in envrcWilliam Carroll1-1/+0
When Emacs starts it's called from xsessionrc.shared, which is called outside of direnv's .envrc scope. Because of this variables defined therein, like ORG_DIRECTORY, are undefined and prevent Emacs from initializing. I'm hard-coding the `org-directory` variable for now and removing references to `(getenv "ORG_DIRECTORY")`.
2020-01-17 Prefer direnv to manage ORG_DIRECTORYWilliam Carroll1-0/+1
Instead of keeping this in my ~/.profile, I'm going to define it in .envrc. What I still don't know is how functions like `getenv` are supposed to interact with direnv. I suppose maybe they aren't? Right now, when I call `(getenv "DOTFILES")` from Emacs, it's `nil`, which I understand. Hopefully the more I use direnv, the more reasonable expectations I'll have.
2020-01-17 Support direnvWilliam Carroll1-0/+1
DRY up environment variable definition by using direnv and an .envrc file.