From 3f2637ebbf17856d225ad2ab7671ae7dd91f4073 Mon Sep 17 00:00:00 2001 From: Edward Delaporte Date: Tue, 27 Feb 2024 12:05:02 -0600 Subject: [PATCH] Add todo.txt contents to dashboard --- files/env.ps1 | 1 + psmodules/dash.psm1 | 1 + 2 files changed, 2 insertions(+) diff --git a/files/env.ps1 b/files/env.ps1 index 54b969a..12b6f7d 100644 --- a/files/env.ps1 +++ b/files/env.ps1 @@ -1,5 +1,6 @@ $env:Journal = "~\Journal" # allows cd $env:journal $env:todolist = "C:\Users\delaport\Journal\" +$ENV:todotxt = "$ENV:todolist\todo.txt" # Tell my scripts which GitHub repositories to look in. $env:GITHUB_USERNAME = 'edthedev' $env:GITHUB_CLONE_PATH = '~\src' diff --git a/psmodules/dash.psm1 b/psmodules/dash.psm1 index bcd6df7..da2afef 100644 --- a/psmodules/dash.psm1 +++ b/psmodules/dash.psm1 @@ -108,6 +108,7 @@ function Show-MyDashBoard() { Write-Host "" Write-Host "## Todo List" todolist + todotxt } } -- 2.47.3