From 2a8aaa55c9139be92aeb3bb2e1f2e82af7923ded Mon Sep 17 00:00:00 2001 From: Simon Michael Date: Fri, 28 Sep 2012 17:29:49 +0000 Subject: [PATCH] manual updates --- MANUAL.md | 18 +++++++++++++++++- 1 file changed, 17 insertions(+), 1 deletion(-) diff --git a/MANUAL.md b/MANUAL.md index 897a3dfe1..693039b7f 100644 --- a/MANUAL.md +++ b/MANUAL.md @@ -44,6 +44,17 @@ To also install the web interface, do: $ cabal install hledger-web +Then try it: + + $ hledger + +If you get "hledger not found" or similar, you should add cabal's bin +directory to your PATH environment variable. Eg on unix-like systems, +something like: + + $ echo 'export PATH=$PATH:~/cabal/bin' >> ~/.bash_profile + $ source ~/.bash_profile + To build the latest [development version](DEVELOPMENT.html) do: $ cabal update @@ -902,7 +913,7 @@ the following: - `REGEX` - match account names by this regular expression - `acct:REGEX` - same as above - `desc:REGEX` - match transaction descriptions by regular expression -- `date:PERIODEXPR` - match dates within the specified [period](#period-expressions) (which may not contain a reporting interval) +- `date:PERIODEXPR` - match dates within the specified [period](#period-expressions) - `edate:PERIODEXPR` - as above, but match effective dates - `status:1` or `status:0` - match cleared/uncleared transactions - `tag:NAME[=REGEX]` - match by exact [tag](#tags) name, and optionally match the tag value by regular expression @@ -1326,6 +1337,11 @@ you. Tip: blindly reinstalling/upgrading everything in sight probably won't work, it's better to go in small steps and understand the problem, or get help. +#. **Running hledger says something like No command 'hledger' found** + cabal installs binaries into a special directory, which should be added + to your PATH environment variable. On unix-like systems, it is + ~/.cabal/bin. + #. **Did you cabal update ?** If not, `cabal update` and try again.