From aa8272e0a2ba0195e94be925cee9a4504860721c Mon Sep 17 00:00:00 2001 From: Ira Limitanei Date: Tue, 14 May 2024 18:07:54 +0900 Subject: [PATCH] fix: init mcfly last to avoid keybind override --- toolboxes/powershell-toolbox/profile.ps1 | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/toolboxes/powershell-toolbox/profile.ps1 b/toolboxes/powershell-toolbox/profile.ps1 index a3ae8c2..d38d596 100644 --- a/toolboxes/powershell-toolbox/profile.ps1 +++ b/toolboxes/powershell-toolbox/profile.ps1 @@ -4,10 +4,6 @@ oh-my-posh init pwsh --config 'https://raw.githubusercontent.com/JanDeDobbeleer/ # Zoxide Invoke-Expression (& { (zoxide init powershell | Out-String) }) -# McFly -Invoke-Expression -Command $(mcfly init powershell | Out-String) -# $env:MCFLY_LIGHT = "TRUE" - # PSReadLine if ((Get-InstalledModule ` -Name "PSReadLine" ` @@ -36,6 +32,10 @@ Set-PSReadLineOption -EditMode Windows # Set shortcuts to begin fzf searching Set-PsFzfOption -PSReadlineChordProvider 'Ctrl+t' -PSReadlineChordReverseHistory 'Ctrl+f' +# McFly +Invoke-Expression -Command $(mcfly init powershell | Out-String) +# $env:MCFLY_LIGHT = "TRUE" + # PowerShell parameter completion shim for the dotnet CLI Register-ArgumentCompleter -Native -CommandName dotnet -ScriptBlock { param($commandName, $wordToComplete, $cursorPosition)