aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to '')
-rwxr-xr-xtimelog.sh8
-rwxr-xr-xzetrename.sh6
2 files changed, 7 insertions, 7 deletions
diff --git a/timelog.sh b/timelog.sh
index b2435f7..5b55ecf 100755
--- a/timelog.sh
+++ b/timelog.sh
@@ -1,8 +1,8 @@
-#!/usr/local/bin/bash
+#!/usr/bin/bash
# ripping off https://github.com/colindean/hejmo/blob/master/scripts/t
-timelog="/home/lemon/Documents/Budget/ledger/2021/timetracking.ledger"
+timelog="/home/lemon/Budget/ledger/timetracking.ledger"
# clock in
_t_in() {
@@ -19,11 +19,11 @@ _t_cur() {
}
_t_bal() {
- ledger -f "${timelog}" bal
+ hledger -f "${timelog}" bal
}
_t_reg() {
- ledger -f "${timelog}" reg
+ hledger -f "${timelog}" reg
}
# this doesn't work in OpenBSD because of the date issue
diff --git a/zetrename.sh b/zetrename.sh
index 8cb5497..e1a178d 100755
--- a/zetrename.sh
+++ b/zetrename.sh
@@ -1,8 +1,8 @@
-#!/usr/local/bin/bash
+#!/usr/bin/bash
# Renaming files of the format YYYYMMDDHHMMSS-title text etc.md is a massive pain, so this script does it for you.
-NOTES=/home/$USER/Notes/modzet
+NOTES=/home/$USER/Documents/Notes/modzet
function usage {
echo
@@ -15,7 +15,7 @@ if [[ $# -eq 0 ]]; then
usage; exit 1
fi
-# path must be of form /home/$USER/Notes/modzet/20220419133511-Title of file.md
+# path must be of form /home/$USER/Documents/Notes/modzet/20220419133511-Title of file.md
#re='^/tmp\/Notes\/modzet\/(.{14})-(.+)\.md'
re='^/home\/lemon\/Notes\/modzet\/(.{14})-(.+)\.md'