X-Git-Url: https://apps.delaporte.us/gitweb/dotfiles.git/blobdiff_plain/73c2b333138a528e5b801034c11c61862073561a..4f0f77629ebb75fdb565e4447bf9a6745583b859:/files/Microsoft.PowerShell_profile.ps1 diff --git a/files/Microsoft.PowerShell_profile.ps1 b/files/Microsoft.PowerShell_profile.ps1 index 3107b6a..583496c 100644 --- a/files/Microsoft.PowerShell_profile.ps1 +++ b/files/Microsoft.PowerShell_profile.ps1 @@ -3,7 +3,6 @@ $env:dotfiles = "$HOME\dotfiles" Import-Module $env:dotfiles\psmodules\add_to_profile.psm1 Add-ToProfile $env:dotfiles\files\paths.ps1 Add-ToProfile $env:dotfiles\files\env.ps1 -Add-ToProfile $env:dotfiles\files\load_modules.ps1 # Delay loading PoshGit for speed. function Enable-PoshGit { @@ -13,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,5 +26,12 @@ Set-PSReadlineOption -EditMode Vi Write-Host "+ Type 'pg' to enable PoshGit" Write-Host 'See $env:realProfile for version controlled profile file.' + +# Load some 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" + # 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 }