Created initial assets
This commit is contained in:
@@ -0,0 +1,10 @@
|
||||
Set-PSReadLineKeyHandler -Chord "alt+e" -ScriptBlock {
|
||||
$_old = $null
|
||||
[Microsoft.PowerShell.PSConsoleReadline]::GetBufferState([ref]$_old, [ref]$null)
|
||||
if ($_old) {
|
||||
[Microsoft.PowerShell.PSConsoleReadLine]::Insert('⌛')
|
||||
$_new = (loki -e $_old)
|
||||
[Microsoft.PowerShell.PSConsoleReadLine]::DeleteLine()
|
||||
[Microsoft.PowerShell.PSConsoleReadline]::Insert($_new)
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user