From b1b029a808a5bddaa570454cd9116734abb4af15 Mon Sep 17 00:00:00 2001 From: qwjyh Date: Tue, 27 Sep 2022 06:38:05 +0900 Subject: [PATCH] add: pwsh psfzf startup in PROFILE --- dotfiles/pwsh/powershell_profile.ps1 | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/dotfiles/pwsh/powershell_profile.ps1 b/dotfiles/pwsh/powershell_profile.ps1 index 477235d..7497e2a 100644 --- a/dotfiles/pwsh/powershell_profile.ps1 +++ b/dotfiles/pwsh/powershell_profile.ps1 @@ -6,6 +6,10 @@ Set-PSReadLineKeyHandler -Chord "Ctrl+f" -Function ForwardWord # like fish Set-PSReadLineKeyHandler -Chord "Tab" MenuComplete Set-PSReadLineKeyHandler -Chord "Ctrl+d" DeleteCharOrExit +# PsFzf Options +# 'Ctrl+t' for provider path, 'Ctrl+r' for reverse history +Set-PsFzfOption -PSReadlineChordProvider 'Ctrl+t' -PSReadlineChordReverseHistory 'Ctrl+r' + function ~ { cd ~ } function .. { cd .. } function epl {explorer.exe .}