X-Git-Url: https://us-delaporte.pagekite.me/gitweb/dotfiles.git/blobdiff_plain/c619cb30baa63bd430e47adbbf59bd759963b3bd..9f286e3ea659a95d0f179628b5f5c346afc029fe:/Microsoft.PowerShell_profile.ps1 diff --git a/Microsoft.PowerShell_profile.ps1 b/Microsoft.PowerShell_profile.ps1 index dfe4593..7acc0d2 100644 --- a/Microsoft.PowerShell_profile.ps1 +++ b/Microsoft.PowerShell_profile.ps1 @@ -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