]> us-delaporte.pagekite.me Git - dotfiles.git/blobdiff - psmodules/dash.psm1
Setup .swp folder
[dotfiles.git] / psmodules / dash.psm1
index c10d868c43f1353bbbede2b8b5e845010b601beb..291127f27303ef69e68b1b859579056d0aba6f67 100644 (file)
@@ -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() {