Remove Tab Completion in PowerShell
This commit is contained in:
parent
3cf1277f5c
commit
562903bb53
1 changed files with 3 additions and 3 deletions
|
@ -98,12 +98,12 @@ Set-PSReadLineOption -BellStyle None
|
|||
Set-PSReadLineOption -EditMode Emacs
|
||||
Set-PSReadLineOption -HistorySaveStyle SaveNothing
|
||||
|
||||
Set-PSReadLineKeyHandler -Key Tab -Function Complete
|
||||
Set-PSReadLineKeyHandler -Key UpArrow -ScriptBlock {
|
||||
Remove-PSReadLineKeyHandler -Chord Tab
|
||||
Set-PSReadLineKeyHandler -Chord UpArrow -ScriptBlock {
|
||||
[Microsoft.PowerShell.PSConsoleReadLine]::HistorySearchBackward()
|
||||
[Microsoft.PowerShell.PSConsoleReadLine]::EndOfLine()
|
||||
}
|
||||
Set-PSReadLineKeyHandler -Key DownArrow -ScriptBlock {
|
||||
Set-PSReadLineKeyHandler -Chord DownArrow -ScriptBlock {
|
||||
[Microsoft.PowerShell.PSConsoleReadLine]::HistorySearchForward()
|
||||
[Microsoft.PowerShell.PSConsoleReadLine]::EndOfLine()
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue