From: Edward Delaporte Date: Thu, 5 Aug 2021 20:14:05 +0000 (-0500) Subject: Dashboard remix. X-Git-Url: https://apps.delaporte.us/gitweb/dotfiles.git/commitdiff_plain/2f3762ef09afaefea14a30897c0c2e6150c4bd33?ds=sidebyside Dashboard remix. --- diff --git a/Microsoft.PowerShell_profile.ps1 b/Microsoft.PowerShell_profile.ps1 index f70c705..a57c48a 100644 --- a/Microsoft.PowerShell_profile.ps1 +++ b/Microsoft.PowerShell_profile.ps1 @@ -100,14 +100,10 @@ function Get-GitStatus() { git status -b --short } -function Get-JournalAgenda() { - Get-Content $(Get-JournalFile -date $(Get-Date)) -} - # Nice for git New-Alias ol Get-GitLog New-Alias st Get-GitStatus # Dashboard -New-Alias dash Get-MyDashboard # See dash.psm1 -New-Alias agenda Get-JournalAgenda +New-Alias dash Get-MyDashboard # from dash.psm1 +New-Alias agenda Get-JournalAgenda # from minion_go.psm1 diff --git a/psmodules/dash.psm1 b/psmodules/dash.psm1 index 4b74daa..5540b6b 100644 --- a/psmodules/dash.psm1 +++ b/psmodules/dash.psm1 @@ -1,14 +1,15 @@ function Get-MyDashBoard() { + Write-Host "## Todo items for today:" Measure-JournalTodos chart - # todo - # Get-JournalAgenda - Write-Host "Todo items for today:" Get-JournalTodayTodos - Write-Host "GitHub Issues Assigned" - Show-GHMine + Write-Host "## Agenda for today:" + Get-JournalAgenda + Write-Host "## GitHub Issues Assigned" + Show-GHMine Write-Host "Use command 'todo' to list more tasks." + Write-Host "Use command 'chart' to show todo item progress." Write-Host "Use command 'agenda' to list the plan for today." }