X-Git-Url: https://apps.delaporte.us/gitweb/dotfiles.git/blobdiff_plain/daa13e331dcc0807b9c680d0bfe37abeafcfe005..e9296d27e256eb009f7963438b238666a3a78e0d:/files/Microsoft.PowerShell_profile.ps1 diff --git a/files/Microsoft.PowerShell_profile.ps1 b/files/Microsoft.PowerShell_profile.ps1 index ae447fe..e39aab2 100644 --- a/files/Microsoft.PowerShell_profile.ps1 +++ b/files/Microsoft.PowerShell_profile.ps1 @@ -15,6 +15,23 @@ Set-Alias code codium # Prefer Codium # Dashboard New-Alias dash Show-MyDashboard # from dash.psm1 New-Alias today Get-JournalAgenda +function journal { + param( + [switch]$limited = $false, + [switch]$shared = $false + ) + $path = "$HOME\Box\Journal" + if($limited) { + $path = "$HOME\Box\SecDevLimited" + } + if($shared) { + $path = "$HOME\Box\Privacy & Cybersecurity\Cybersecurity Development" + } + nvim $path +} +function dotfiles { + nvim "$HOME\dotfiles" +} # Vi New-Alias vi nvim