From: Edward Delaporte Date: Thu, 28 Jan 2021 17:37:03 +0000 (-0600) Subject: Profile updates - mainly X-Git-Url: https://us-delaporte.pagekite.me/gitweb/dotfiles.git/commitdiff_plain/784979f247fc98fbcaf561a4f98785a8dc9d8fb4 Profile updates - mainly --- diff --git a/.gitignore b/.gitignore index 81ad23c..efb16e9 100644 --- a/.gitignore +++ b/.gitignore @@ -4,4 +4,5 @@ DONE.md env/* *.json OneTrust.ipynb -*.conf \ No newline at end of file +*.conf +*.*~ 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 + +