Commit Graph

316 Commits

Author SHA1 Message Date
Dmitry Astapov
8b9644be96 script:balance-as-budget-multi.hs
Like balance-as-budged, but many times
2025-03-08 09:57:38 -10:00
Simon Michael
d06d1f5ba0 ;bin:bashrc: more command aliases 2025-03-07 18:26:59 -10:00
Simon Michael
0d98dd1351 ;bin:hledger-jj: updates 2025-02-27 22:26:07 -10:00
Simon Michael
d8e190e576 ;bin:hledger-jj: updates 2025-02-27 21:56:11 -10:00
Simon Michael
ebc6f06eef ;bin:readme: edits 2025-02-27 21:45:17 -10:00
Simon Michael
76114385e7 ;bin: edits 2025-02-27 21:40:17 -10:00
Simon Michael
f34a0d6248 ;feat:bin: hledger-jj, another VCS CLI using newer tech (jj, ysh) 2025-02-27 21:27:58 -10:00
Simon Michael
97f831f741 ;bin:hledger-git: run pass-through commands in the right repo 2025-02-27 17:10:44 -10:00
Dmitry Astapov
9597210556 script: balance-as-budget properly applies commodity styles now 2025-02-11 11:04:51 -10:00
Simon Michael
57efcfb79a ;bin: script-example: cleanup 2025-02-01 13:55:03 -10:00
Lars Kellogg-Stedman
d447d708f6 ;bin: git: make ensure_git more robust
Instead of manually checking for a .git directory, ask git to check whether
or not we are in a work tree using 'git rev-parse --is-inside-work-tree'.
This takes care of things like being in a subdirectory of a work tree, or
someone having GIT_DIR pointing somewhere other than .git, etc.
2025-01-21 21:29:33 -10:00
Simon Michael
0635fb91fa ;doc: bin, Scripts page: edits 2025-01-20 12:17:14 -10:00
Simon Michael
7ca1d1ac47 ;doc: bin, Scripts page: hledger-interest notes 2025-01-20 12:10:57 -10:00
Simon Michael
88379684c0 ;bin: hledger-move: doc edits 2024-12-28 20:24:05 -10:00
Simon Michael
0a484df676 ;tools: bump tools & bin to recent stackage / ghc 9.10 2024-12-20 10:41:46 -10:00
Simon Michael
37ac52aa7e ;bin: hledger-script-example: add a short low boilerplace version 2024-12-16 15:29:18 -10:00
Simon Michael
d20d2571f8 ;bin: hledger-script-example.hs: improvements, cleanups 2024-12-16 15:28:54 -10:00
Simon Michael
895a52b745 ;bin: remove obsolete _FLAGS marker from help 2024-12-07 08:51:44 -10:00
Simon Michael
81d20ecaf8 ;tools: revert to ghc 9.8.2 for now
running these with ghc 9.10 is awkward
2024-12-03 09:13:14 -10:00
Simon Michael
645da4a74f ;pkg: bump to latest stackage snapshot 2024-12-02 17:13:28 -10:00
Dmitry Astapov
1fefbe9159 ;bin: fix build errors in all scripts 2024-10-11 14:55:35 -10:00
Simon Michael
45b862f84f ;dev: bump to latest stackage nightly 2024-09-28 08:39:06 -10:00
Simon Michael
08a356a7cb ;dev: pkg: bump to latest nightly stackage snapshot 2024-09-09 14:03:35 -07:00
Simon Michael
e9a52b4b9c ;bin: bashrc: also define TIMEDOT 2024-09-04 15:30:38 +01:00
Simon Michael
bafe70efb4 ;doc: scripts and add-ons: edits 2024-08-12 11:59:41 +01:00
Simon Michael
aa7a38f586 ;doc: update stack doc urls 2024-08-12 11:55:06 +01:00
Simon Michael
a0c8237697 ;doc: scripts and add-ons: edits 2024-08-12 11:40:59 +01:00
Simon Michael
b352a5e281 ;doc: scripts and add-ons: edits 2024-08-12 11:36:58 +01:00
Simon Michael
1fd6fbb4f7 ;doc: scripts and add-ons: edits 2024-08-12 11:10:13 +01:00
Simon Michael
6670c465d1 ;doc: scripts and add-ons: edits 2024-08-12 11:06:11 +01:00
Simon Michael
397a464aeb ;doc: bin readme/Scripts and add-ons: rewrites, list add-ons again 2024-08-12 11:00:54 +01:00
Simon Michael
d6b905fa08 ;bin: bashrc: updates 2024-08-12 08:48:42 +01:00
Simon Michael
a22901a983 ;bin: bashrc updates 2024-08-06 18:12:52 +01:00
Simon Michael
1f880f39bd ;bin: drop silly diff alias 2024-08-04 19:16:22 +01:00
Simon Michael
098acb422b ;tools: make justfiles compatible with just 1.28+ 2024-07-14 09:44:54 +01:00
Simon Michael
06f5075b6b ;doc: bin/README, Scripts page: justfile -> Justfile 2024-07-12 14:21:33 +01:00
Simon Michael
0d878415e9 ;pkg: stack: bump to latest nightly; bump various script snapshots 2024-07-12 12:45:00 +01:00
Simon Michael
7020ed3023 ;bin: bashrc: add years, eachyear scripts 2024-07-06 17:25:22 +01:00
Simon Michael
cc1797253e bin: simplebal: ignore config files 2024-07-06 17:12:08 +01:00
Simon Michael
321cdca918 ;bin: shell aliases cleanup 2024-07-06 06:58:16 +01:00
Simon Michael
84da054baf ;bin: shell aliases cleanup 2024-07-06 06:53:44 +01:00
Simon Michael
cf0c7c2ef8 ;bin: hledger-script-example: explain shebang commands better 2024-07-02 13:34:48 +01:00
Simon Michael
f847ef63e2 ;fix: bin: register-max: update/fix 2024-06-25 07:45:27 +01:00
Simon Michael
9cdf435c0e ;bin: add hledger-pricehist (alias for pricehist) 2024-05-02 18:44:21 -10:00
Simon Michael
65e01d900a ;bin: add hledger-txnsbycat.hs 2024-04-03 15:00:53 -10:00
Colin Dean
4c15cfb275 fix: correct to inherit_errexit in hledger-bar
I misread something and apparently whatever test I used didn't fail because what's there now is not valid at all.
2024-02-17 20:54:30 -10:00
Simon Michael
ca55c2f0f8 dev: rename other Price helpers to Cost
showAmountWithoutPrice             -> showAmountWithoutCost
mixedAmountStripPrices             -> mixedAmountStripCosts
showMixedAmountWithoutPrice        -> showMixedAmountWithoutCost
showMixedAmountOneLineWithoutPrice -> showMixedAmountOneLineWithoutCost
2024-01-23 21:35:06 -10:00
Simon Michael
323f87b3e9 dev: Amount: aprice -> acost
Acked-by: Simon Michael <simon@joyful.com>
2024-01-23 21:35:06 -10:00
Simon Michael
e201775e93 dev: amountStripPrices -> amountStripCost 2024-01-23 21:35:06 -10:00
Colin Dean
2ac0905c70 dev: Runs shellcheck on hledger-simplebal
Shellcheck handled the variable fixups. The pipefail flag avoids another
Shellcheck warning w.r.t. handling pipe failures. This script is so
minimal that it's safe to simply fail the pipe entirely if the hledger
command fails.
2024-01-23 06:30:32 -10:00