summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorfpi2022-05-20 23:56:39 +0200
committerfpi2022-05-20 23:58:17 +0200
commit3247341513661f61797048a1979331a083bd8d82 (patch)
tree9cc653f44ca7e2c6410670d874ce0888097a5af6
parentAdd ledger report script for plotting w/ gnuplot (diff)
Make ledgerrc read-onlyledger
-rw-r--r--ledgerrc.org4
1 files changed, 2 insertions, 2 deletions
diff --git a/ledgerrc.org b/ledgerrc.org
index 34bedd6..78b9f31 100644
--- a/ledgerrc.org
+++ b/ledgerrc.org
@@ -1,4 +1,4 @@
-#+PROPERTY: header-args:conf :tangle tangle/.ledgerrc :results silent
+#+PROPERTY: header-args:conf :tangle tangle/.ledgerrc :results silent :tangle-mode (identity #o444)
#+begin_src conf
--file ~/git/projects/ledger/main.ledger
@@ -9,7 +9,7 @@ ln -siv $(pwd)/tangle/report ~/.local/bin/
#+end_src
The =report= script can be used for simple plotting of ledger output using gnuplot. This is taken directly from the ledger git repo.
-#+begin_src shell :tangle tangle/report :shebang "#!/usr/bin/env sh"
+#+begin_src shell :tangle tangle/report :shebang "#!/usr/bin/env sh" :tangle-mode (identity #o555)
# This script facilities plotting of a ledger register report. If you
# use OS/X, and have AquaTerm installed, you will probably want to set
# LEDGER_TERM to "aqua".