]> apps.delaporte.us Git - dotfiles.git/blobdiff - Microsoft.PowerShell_profile.ps1
Checkin all the things.
[dotfiles.git] / Microsoft.PowerShell_profile.ps1
index dfe459321db14aadd3f8174dcbe053fc0e406fc2..7acc0d2faf00f2b2302b562f35f803bd8d4d264b 100644 (file)
@@ -21,8 +21,9 @@ if($IsWindows -eq "") {
 #      $ENV:PATH+=";C:\PENGUIN" # Flag to ensure my profile kicked in.
 #}
 
-# Import some home grown PowerShell modules, if they are installed.
+$env:Journal = "~\Journal\2021" # allows cd $env:journal
 
+# Import some home grown PowerShell modules, if they are installed.
 $modPaths = Get-Childitem -Path "c:\src\dotfiles\psmodules"
 $modPaths += Get-Childitem -Path "c:\src\minion\psmodule"
 if($modPaths.length -eq 0){
@@ -44,9 +45,8 @@ Set-PSReadlineOption -HistorySavePath c:\temp\PSHistory.log
 
 # 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.
+# Add Minion go executable to path.
+. C:\src\minion\profiles\path.ps1
 
 # Unix dies hard.
 New-Alias which get-command