We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 443f3b0 commit 9fa4793Copy full SHA for 9fa4793
PSReadlineProfile.ps1
@@ -478,24 +478,6 @@ Set-PSReadLineKeyHandler -Key Alt+j `
478
[Microsoft.PowerShell.PSConsoleReadLine]::InvokePrompt()
479
}
480
481
-Set-PSReadLineOption -CommandValidationHandler {
482
- param([System.Management.Automation.Language.CommandAst]$CommandAst)
483
-
484
- switch ($CommandAst.GetCommandName())
485
- {
486
- 'git' {
487
- $gitCmd = $CommandAst.CommandElements[1].Extent
488
- switch ($gitCmd.Text)
489
490
- 'cmt' {
491
- [Microsoft.PowerShell.PSConsoleReadLine]::Replace(
492
- $gitCmd.StartOffset, $gitCmd.EndOffset - $gitCmd.StartOffset, 'commit')
493
- }
494
495
496
497
-}
498
499
# ghq + fzf
500
Set-PSReadLineKeyHandler -Key Ctrl+] `
501
-BriefDescription SelectGHQDirectory `
0 commit comments