Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use ./.ledgerrc if ~/.ledgerrc doesn't exist #414

Merged
merged 1 commit into from Apr 27, 2015
Merged

Conversation

davidsklar
Copy link
Contributor

read_init() was using ~/.ledgerrc instead of ./.ledgerrc if $HOME was set, whether or not ~/.ledgerrc exists. This patch changes it so that ./.ledgerrc will be used if ~/.ledgerrc doesn't exist (or, still, if $HOME is not set for some reason.)

jwiegley added a commit that referenced this pull request Apr 27, 2015
Use ./.ledgerrc if ~/.ledgerrc doesn't exist
@jwiegley jwiegley merged commit 61156c8 into ledger:next Apr 27, 2015
@jwiegley
Copy link
Member

And thanks for the whitespace fixes :)

@davidsklar
Copy link
Contributor Author

Don't thank me, thank

(add-hook 'before-save-hook 'delete-trailing-whitespace)

:)

thdox added a commit to thdox/ledger that referenced this pull request Aug 8, 2015
afh pushed a commit to afh/ledger that referenced this pull request Aug 14, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants