PSFzf
PSFzf copied to clipboard
add helix in Get-EditorLaunch ?
Would it be possible to add support for the helix editor? This works for me in the psm1 file, but I would not know how to fork and push and all that. thx.
elseif ($editor -match 'hx') {
if ($FileList -is [array] -and $FileList.length -gt 1) {
for ($i = 0; $i -lt $FileList.Count; $i++) {
$FileList[$i] = '"{0}"' -f $(Resolve-Path $FileList[$i].Trim('"'))
}
"$editor$editorOptions {0}" -f ($FileList -join ' ')
}
else {
"$editor$editorOptions ""{0}:{1}""" -f $(Resolve-Path $FileList.Trim('"')), $LineNum
}
}