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

hledger stopped resolving home folders in includes #896

Closed
ony opened this Issue Oct 9, 2018 · 1 comment

Comments

Projects
None yet
2 participants
@ony
Collaborator

ony commented Oct 9, 2018

Since 52da073 (introducing globs) it gives:

zsh% /home/nikolay/.local/bin/hledger stat            
hledger: /home/nikolay/.hledger.journal:1:49:
  |
1 | include ~/Documents/budget/effective-hledger.dat
  |                                                 ^
No existing files match pattern: ~/Documents/budget/effective-hledger.dat

shell-test to reproduce:

# 6. include relative to home
printf '2018/01/01\n (A)  1\n' >included.journal; HOME="$PWD" hledger -f - print; rm -rf included.journal
<<<
include ~/included.journal
>>>
2018/01/01
    (A)               1

>>>2
>>>=0

Works on 9e56ad2 . Tested against stack-ghc8.2.yaml.

@ony ony self-assigned this Oct 9, 2018

ony added a commit to ony/hledger that referenced this issue Oct 9, 2018

ony added a commit to ony/hledger that referenced this issue Oct 9, 2018

ony added a commit to ony/hledger that referenced this issue Oct 9, 2018

simonmichael added a commit that referenced this issue Oct 9, 2018

@simonmichael

This comment has been minimized.

Owner

simonmichael commented Oct 9, 2018

Thanks!

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