From acd4526f8416fe7b20c26228265f285acb2feb37 Mon Sep 17 00:00:00 2001 From: Nicolas Date: Sat, 17 Dec 2022 12:34:07 +0100 Subject: [PATCH] Append Env Variable PSFZF_EDITOR_WAIT --- PSFzf.Functions.ps1 | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/PSFzf.Functions.ps1 b/PSFzf.Functions.ps1 index 3382b88..32377c0 100644 --- a/PSFzf.Functions.ps1 +++ b/PSFzf.Functions.ps1 @@ -88,7 +88,8 @@ function Get-EditorLaunch() { } } function Invoke-FuzzyEdit() { - param($Directory = ".", [switch]$Wait) + param($Directory = ".", [switch]$Wait=[System.Boolean]$ENV:PSFZF_EDITOR_WAIT) + $files = @() try {