X-Git-Url: https://us-delaporte.pagekite.me/gitweb/dotfiles.git/blobdiff_plain/244caafe287ab03ca292ab430cab7b04ed61aae3..4da37ebcc92607317dcbe26c7b33459a405377a6:/Microsoft.PowerShell_profile.ps1?ds=inline diff --git a/Microsoft.PowerShell_profile.ps1 b/Microsoft.PowerShell_profile.ps1 index 3f55ac0..8d8692c 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){ @@ -42,8 +43,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