Set-PSReadlineKeyHandler -Key DownArrow -Function HistorySearchForward
Set-PSReadlineOption -HistorySavePath c:\temp\PSHistory.log
-# Minion commands - 'today'
+# Minion alias commands - 'today'
. C:\src\minion\profiles\alias.ps1
+# Add Minion to path
+Write-Host "+ Added minion command to path."
+$ENV:PATH+=";c:\src\minion\go" # Flag to ensure my profile kicked in.
# Unix dies hard.
New-Alias which get-command
New-Alias pg Enable-PoshGit
Write-Host "+ Type 'pg' to enable PoshGit"
-# cd c:\src
-#
+
+if((Get-Location).Path -eq $HOME){
+ cd c:\src
+}