X-Git-Url: https://us-delaporte.pagekite.me/gitweb/dotfiles.git/blobdiff_plain/8417877b554ba46288cb75fe6d013ed969d0afe2..ebf60992f3a2886f982f3bd10fb65e8fe8fac446:/Microsoft.PowerShell_profile.ps1?ds=sidebyside diff --git a/Microsoft.PowerShell_profile.ps1 b/Microsoft.PowerShell_profile.ps1 index 18c7f9a..820190b 100644 --- a/Microsoft.PowerShell_profile.ps1 +++ b/Microsoft.PowerShell_profile.ps1 @@ -54,14 +54,12 @@ function Export-VSCodeExtensions { } -# Aliases for Minion -if($IsWindows){ - New-Alias mn c:\src\minion\mn.ps1 -}else{ - New-Alias mn ~/src/minion/mn.ps1 -} -function New-JournalToday() { - 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 + +. C:/src/minion/alias.ps1 + +cd c:\src