Skip to content

Commit 8ff7727

Browse files
committed
change default path
1 parent 2ae3d01 commit 8ff7727

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: Microsoft.PowerShell_profile.ps1

+1-1
Original file line numberDiff line numberDiff line change
@@ -64,8 +64,8 @@ $cmd = (gwmi win32_process -filter ("ProcessID={0}" -f (gwmi win32_process -filt
6464
if ($cmd -notmatch 'cmd\.exe')
6565
{
6666
if (Test-Path 'C:\Github') { Set-Location 'C:\Github'; }
67+
elseif (Test-Path 'D:\SCP') { Set-Location 'D:\SCP'; }
6768
elseif (Test-Path 'C:\Code') { Set-Location 'C:\Code'; }
68-
elseif (Test-Path 'D:\Code') { Set-Location 'D:\Code'; }
6969
elseif (Test-Path 'C:\River') { Set-Location 'C:\River'; }
7070
else { Set-Location '\'; }
7171
}

0 commit comments

Comments
 (0)