X-Git-Url: https://us-delaporte.pagekite.me/gitweb/dotfiles.git/blobdiff_plain/0da19501333ce0b24970b1c065a54ed6f24e487b..65c4eab887d1439a0a2feba2c4cc245ec941e32c:/files/Microsoft.PowerShell_profile.ps1 diff --git a/files/Microsoft.PowerShell_profile.ps1 b/files/Microsoft.PowerShell_profile.ps1 index e3d7719..ad40198 100644 --- a/files/Microsoft.PowerShell_profile.ps1 +++ b/files/Microsoft.PowerShell_profile.ps1 @@ -12,6 +12,10 @@ New-Alias pg Enable-PoshGit 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 @@ -23,18 +27,16 @@ Set-PSReadlineOption -EditMode Vi Write-Host "+ Type 'pg' to enable PoshGit" Write-Host 'See $env:realProfile for version controlled profile file.' -# Load some modules +# Load dotfiles modules $env:psmodules = "$env:dotfiles\psmodules" Import-Module "$env:psmodules\dash.psm1" Import-Module $env:PSModules\file_management.psm1 Import-Module "$env:psmodules\fix_vpn.psm1" Import-Module $env:PSModules\house_shopping.psm1 +# Load local source modules +Import-Module $env:src\powershell-scripts\modules\AgileGitHub.psm1 +Import-Module $env:src\powershell-scripts\modules\MarkdownGitHub.psm1 + # 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