X-Git-Url: https://us-delaporte.pagekite.me/gitweb/dotfiles.git/blobdiff_plain/8417877b554ba46288cb75fe6d013ed969d0afe2..784979f247fc98fbcaf561a4f98785a8dc9d8fb4:/Microsoft.PowerShell_profile.ps1?ds=sidebyside diff --git a/Microsoft.PowerShell_profile.ps1 b/Microsoft.PowerShell_profile.ps1 index 18c7f9a..12bb500 100644 --- a/Microsoft.PowerShell_profile.ps1 +++ b/Microsoft.PowerShell_profile.ps1 @@ -62,6 +62,14 @@ if($IsWindows){ } function New-JournalToday() { + # gvim "$(mn -today)" vim "$(mn -today)" } New-Alias today New-JournalToday + +# Linux-like up/down in shell +Set-PSReadlineKeyHandler -Key UpArrow -Function HistorySearchBackward +Set-PSReadlineKeyHandler -Key DownArrow -Function HistorySearchForward +Set-PSReadlineOption -HistorySavePath c:\temp\PSHistory.log + +