mirror of
https://github.com/lotabout/skim.git
synced 2026-09-10 07:16:23 -04:00
cleanup comms
This commit is contained in:
parent
5ee20af5af
commit
c8d052d198
|
|
@ -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 --
|
||||
|
|
|
|||
Loading…
Reference in a new issue