X-Git-Url: https://us-delaporte.pagekite.me/gitweb/dotfiles.git/blobdiff_plain/b7ade2d6aad750797b3954dc80711afca555e5de..fee1b342bb9cd617802b637e27215e7e8e226ccf:/psmodules/dash.psm1 diff --git a/psmodules/dash.psm1 b/psmodules/dash.psm1 index c10d868..291127f 100644 --- a/psmodules/dash.psm1 +++ b/psmodules/dash.psm1 @@ -4,8 +4,12 @@ function Get-JournalAgenda() { function Measure-JournalTodos() { $todocount = todolist | Measure-Object -Line + if(Test-Path $env:todohist) { + $env:todocount = Get-Content -Path $env:todohist + } $env:todocount += '|' $env:todocount += $todocount.lines + $env:todocount | Out-File -Path $env:todohist } @@ -13,7 +17,7 @@ function Measure-JournalTodos() { .EXAMPLE -Get-CommitsSince -From 2023.01.01 +Show-GitRevList -From 2023.01.01 #> function Show-GitRevList() {