]> apps.delaporte.us Git - dotfiles.git/blobdiff - Microsoft.PowerShell_profile.ps1
Typo fixes.
[dotfiles.git] / Microsoft.PowerShell_profile.ps1
index 8582fbca40d452aefc04d357487163edd0500d68..dfe459321db14aadd3f8174dcbe053fc0e406fc2 100644 (file)
@@ -42,8 +42,11 @@ Set-PSReadlineKeyHandler -Key UpArrow -Function HistorySearchBackward
 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
@@ -55,5 +58,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
+}