X-Git-Url: https://us-delaporte.pagekite.me/gitweb/dotfiles.git/blobdiff_plain/5be113cc7c18c4dade97e0eb7246de4bebb78bc2..72a71a545ddfbb9250308146efdda18f8ebcdfc1:/files/Microsoft.PowerShell_profile.ps1?ds=sidebyside diff --git a/files/Microsoft.PowerShell_profile.ps1 b/files/Microsoft.PowerShell_profile.ps1 index ad40198..2bbdf46 100644 --- a/files/Microsoft.PowerShell_profile.ps1 +++ b/files/Microsoft.PowerShell_profile.ps1 @@ -17,7 +17,9 @@ 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 +if($iswindows) { + Set-Alias which get-command +} # Reject Windows heritage, act like Vi # Set-PSReadlineOption -HistorySavePath $env:src\PSHistory.log Set-PSReadlineOption -BellStyle Visual @@ -30,13 +32,13 @@ Write-Host 'See $env:realProfile for version controlled profile file.' # 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\file_management.psm1 Import-Module "$env:psmodules\fix_vpn.psm1" -Import-Module $env:PSModules\house_shopping.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 +Import-Module $env:src\powershell-scripts\modules\AgileGitHubCLI.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 }