From: Edward Delaporte Date: Thu, 9 Nov 2023 20:08:49 +0000 (-0600) Subject: Add agenda helper X-Git-Url: https://us-delaporte.pagekite.me/gitweb/dotfiles.git/commitdiff_plain/0f4b589cfb23f913262bd4f52f264cca7e358cfd?ds=sidebyside;hp=-c Add agenda helper --- 0f4b589cfb23f913262bd4f52f264cca7e358cfd diff --git a/files/Microsoft.PowerShell_profile.ps1 b/files/Microsoft.PowerShell_profile.ps1 index 854a92d..4b70fe8 100644 --- a/files/Microsoft.PowerShell_profile.ps1 +++ b/files/Microsoft.PowerShell_profile.ps1 @@ -23,4 +23,10 @@ Set-PSReadlineOption -EditMode Vi Write-Host "+ Type 'pg' to enable PoshGit" Write-Host 'See $env:realProfile for version controlled profile file.' # Let's face it, I'm about to cd into my source directory -if((Get-Location).Path -eq $HOME){ cd $env:src } \ No newline at end of file +if((Get-Location).Path -eq $HOME){ cd $env:src } + +function Get-JournalAgenda() { + # Write-Host "Reading from $HOME\Journal\{YYYY}\{MM}-{DD}.md" + agenda.exe -path "$HOME\Journal\{YYYY}\{MM}-{DD}.md" +} +New-Alias today Get-JournalAgenda \ No newline at end of file