I want to point to my ledger file so that instead of typing 'ledger -f 
/path/to/file <command>' I would like to type "ledger <command>"

I'm using ledger via linux on windows 11 (wsl)

When I type 'ledger -f /path/to/file <command> my report runs successfully 
and as expected. When I point to the same file via ledgerrc I receive the 
error "directive <path/to/file> requires an argument"

In my .ledgerrc file I tried the following:

LEDGER_FILE=/mnt/c/path/to/file.ledger
-f /mnt/c/path/to/file.ledger

My assumption is that the /mnt/c path to windows from linux wsl is causing 
the issue.

I'm hoping someone could help me properly format this. Thanks for your time!

-- 

--- 
You received this message because you are subscribed to the Google Groups 
"Ledger" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ledger-cli/23e677c9-d028-41d0-b15f-2eba7636f24dn%40googlegroups.com.

Reply via email to