]> apps.delaporte.us Git - dotfiles.git/blobdiff - files/Microsoft.PowerShell_profile.ps1
Merge branches 'main' and 'main' of github.com:edthedev/dotfiles
[dotfiles.git] / files / Microsoft.PowerShell_profile.ps1
index e3d7719f62430ba93f7642f1b88b4a78b4e0b360..7aeb6925e10fc16d80dd3406741983bea9446e7f 100644 (file)
@@ -12,6 +12,10 @@ New-Alias pg    Enable-PoshGit
 
 Set-Alias code codium  # Prefer Codium
 
 
 Set-Alias code codium  # Prefer Codium
 
+# Dashboard
+New-Alias dash   Show-MyDashboard # from dash.psm1
+New-Alias today Get-JournalAgenda
+
 # You can pry my unix commands out of my cold dead fingers
 Set-Alias which get-command
 # Reject Windows heritage, act like Vi
 # You can pry my unix commands out of my cold dead fingers
 Set-Alias which get-command
 # Reject Windows heritage, act like Vi
@@ -32,9 +36,3 @@ Import-Module $env:PSModules\house_shopping.psm1
 
 # Let's face it, I'm about to cd into my source directory
 if((Get-Location).Path -eq $HOME){ cd $env:src }
 
 # Let's face it, I'm about to cd into my source directory
 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