summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Buetow <paul@buetow.org>2025-11-03 22:16:25 +0200
committerPaul Buetow <paul@buetow.org>2025-11-03 22:16:25 +0200
commitfb8f9c06ea4d3c1b96fed8eabe5b743dec1b6c9e (patch)
tree36c47dc5c832a0bb6ba8e7a20f9794753abc163a
parent449f3c44059f37e9b2a972d887834eb6b95a40af (diff)
Update
-rw-r--r--dotfiles/fish/conf.d/track.fish8
1 files changed, 4 insertions, 4 deletions
diff --git a/dotfiles/fish/conf.d/track.fish b/dotfiles/fish/conf.d/track.fish
index ce0926b..9022c4e 100644
--- a/dotfiles/fish/conf.d/track.fish
+++ b/dotfiles/fish/conf.d/track.fish
@@ -48,7 +48,7 @@ function track::add_record
set -l epoch (date +%s)
set -l year_week (date +%Y-%V)
set -l current_date (date +%Y-%m-%d)
- set -l csv_file ~/Notes/track-(hostname).csv
+ set -l csv_file ~/git/worktime/track-(hostname).csv
echo "$name,$value,$unit,$kind,$epoch,$year_week,$current_date,$description" >>$csv_file
echo "Added: $name, $value $unit, $kind, $year_week,$description"
@@ -75,7 +75,7 @@ function track::report
set -l obstacle_minutes 0
set -l obstacle_effort 0
- for csv_file in ~/Notes/track-*.csv
+ for csv_file in ~/git/worktime/track-*.csv
if test -f $csv_file
while read -l line
set -l fields (string split ',' $line)
@@ -134,7 +134,7 @@ end
function track::today
set -l today (date +%Y-%m-%d)
echo "Entries for $today:"
- for csv_file in ~/Notes/track-*.csv
+ for csv_file in ~/git/worktime/track-*.csv
if test -f $csv_file
while read -l line
set -l fields (string split ',' $line)
@@ -158,7 +158,7 @@ function track::today
end
function track::edit
- set -l csv_file ~/Notes/track-(hostname).csv
+ set -l csv_file ~/git/worktime/track-(hostname).csv
$EDITOR $csv_file
end