X-Git-Url: https://us-delaporte.pagekite.me/gitweb/dotfiles.git/blobdiff_plain/55dd527419bb2887a69b707b6f1b8d29956f2692..48dc6ce63f3c35fb9ea31033899d572109fad3ee:/Microsoft.PowerShell_profile.ps1 diff --git a/Microsoft.PowerShell_profile.ps1 b/Microsoft.PowerShell_profile.ps1 index 8582fbc..3f55ac0 100644 --- a/Microsoft.PowerShell_profile.ps1 +++ b/Microsoft.PowerShell_profile.ps1 @@ -55,5 +55,7 @@ function Enable-PoshGit { New-Alias pg Enable-PoshGit Write-Host "+ Type 'pg' to enable PoshGit" -# cd c:\src -# + +if((Get-Location).Path -eq $HOME){ + cd c:\src +}