cleanup comms

This commit is contained in:
Loric ANDRE 2026-08-21 22:12:45 +02:00
parent 5ee20af5af
commit c8d052d198

View file

@ -267,19 +267,6 @@ _skim_dir_completion() {
"" "/" ""
}
# Run skim over the candidates supplied by a `_skim_complete_*` helper.
#
# The helpers hand their candidates over on this function's standard input
# (`_skim_complete ... -- "$@" < <(command)`), and the command substitution
# below inherits fd 0, so skim reads them directly.
#
# Do not relay the items through a named pipe here. Opening a fifo for reading
# blocks until a writer shows up, so any feeder that fails to open its end --
# or a stale fifo left in the world-writable `$TMPDIR` by an interrupted
# completion, which `mkfifo` then refuses to recreate -- wedges the widget with
# nothing on screen and no way out. That rendezvous is the only step on this
# path that can block indefinitely, and `kill` is the only completion that
# reaches it without the `**` trigger.
_skim_complete() {
setopt localoptions ksh_arrays
# Split arguments around --