fpf-cli 1.6.20 → 1.6.21
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/fpf +7 -5
- package/package.json +1 -1
package/fpf
CHANGED
|
@@ -2509,7 +2509,7 @@ run_ipc_reload_action() {
|
|
|
2509
2509
|
fi
|
|
2510
2510
|
|
|
2511
2511
|
reload_command="$(build_dynamic_reload_command_for_query "${manager_override}" "${fallback_file}" "${query}")"
|
|
2512
|
-
action_payload="
|
|
2512
|
+
action_payload="change-prompt(Search> )+reload(${reload_command})"
|
|
2513
2513
|
send_fzf_listen_action "${action_payload}"
|
|
2514
2514
|
}
|
|
2515
2515
|
|
|
@@ -2542,16 +2542,18 @@ run_ipc_query_notify_action() {
|
|
|
2542
2542
|
target_manager="bun"
|
|
2543
2543
|
fi
|
|
2544
2544
|
|
|
2545
|
-
if [[ "${target_manager}" == "bun" ]] && manager_command_ready bun; then
|
|
2545
|
+
if [[ "${target_manager}" == "bun" ]] && manager_command_ready bun && [[ -n "${FZF_PORT:-}" ]]; then
|
|
2546
2546
|
should_warm_bun=1
|
|
2547
2547
|
fi
|
|
2548
2548
|
|
|
2549
2549
|
send_fzf_prompt_action "Loading> " || true
|
|
2550
2550
|
|
|
2551
2551
|
if [[ "${should_warm_bun}" -eq 1 ]]; then
|
|
2552
|
-
|
|
2553
|
-
|
|
2554
|
-
|
|
2552
|
+
(
|
|
2553
|
+
FPF_IPC_MANAGER_OVERRIDE="${manager_override}" \
|
|
2554
|
+
FPF_IPC_FALLBACK_FILE="${fallback_file}" \
|
|
2555
|
+
manager_search_entries "bun" "${query}" >/dev/null 2>&1 || true
|
|
2556
|
+
) &
|
|
2555
2557
|
fi
|
|
2556
2558
|
|
|
2557
2559
|
run_ipc_reload_action "${query}" || send_fzf_prompt_action "Search> " || true
|