]> apps.delaporte.us Git - dotfiles.git/commitdiff
Changer directory if not launched somewhere specific.
authorEdward Delaporte <delaport@illinois.edu>
Wed, 10 Feb 2021 16:50:05 +0000 (10:50 -0600)
committerEdward Delaporte <delaport@illinois.edu>
Wed, 10 Feb 2021 16:50:05 +0000 (10:50 -0600)
Microsoft.PowerShell_profile.ps1

index 8582fbca40d452aefc04d357487163edd0500d68..3f55ac02da3d760f7b554de0ba7deabac1e34d6f 100644 (file)
@@ -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
+}