X-Git-Url: https://apps.delaporte.us/gitweb/dotfiles.git/blobdiff_plain/244caafe287ab03ca292ab430cab7b04ed61aae3..9f286e3ea659a95d0f179628b5f5c346afc029fe:/Microsoft.PowerShell_profile.ps1?ds=sidebyside diff --git a/Microsoft.PowerShell_profile.ps1 b/Microsoft.PowerShell_profile.ps1 index 3f55ac0..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){ @@ -42,8 +43,10 @@ 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 go executable to path. +. C:\src\minion\profiles\path.ps1 # Unix dies hard. New-Alias which get-command