From: Edward Delaporte Date: Fri, 15 Jul 2022 22:42:04 +0000 (-0500) Subject: Updated agenda command X-Git-Url: https://us-delaporte.pagekite.me/gitweb/dotfiles.git/commitdiff_plain/958d4908871c941cf2c86380787b92432f6202cf?hp=-c Updated agenda command --- 958d4908871c941cf2c86380787b92432f6202cf diff --git a/Microsoft.PowerShell_profile.ps1 b/Microsoft.PowerShell_profile.ps1 index c2b9bb0..075c5ca 100644 --- a/Microsoft.PowerShell_profile.ps1 +++ b/Microsoft.PowerShell_profile.ps1 @@ -136,9 +136,9 @@ New-Alias st Get-GitStatus New-Alias dash Show-MyDashboard # from dash.psm1 function Get-JournalAgenda() { - agenda.exe -path "$HOME/Journal/$(Get-Date -Format "yyyy/MM-dd").md" + agenda.exe -path "$HOME/Journal/{YYYY}/{MM}-{DD}.md" } -New-Alias agenda Get-JournalAgenda +New-Alias today Get-JournalAgenda function Invoke-FixWslVPN { Get-NetAdapter | Where-Object {$_.InterfaceDescription -Match "Cisco AnyConnect Secure Mobility Client Virtual Miniport Adapter for Windows x64"} | Set-NetIPInterface -InterfaceMetric 6000