Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: Interrupting globs (Re: Something rotten in tar completion)



Small clarification ...

On Dec 6,  1:50pm, Bart Schaefer wrote:
}
} The formulation using TRAPINT() blows all the way out of _main_complete,

In the absence of an "eval" somewhere in the call sequence, that is.

} which certainly stops the completion at that point but also screws up
} all sorts of cleanup that _main_complete would normally do, such as
} setting up _lastcomp, and restoring the values of ZLS_COLORS and the
} _comppostfuncs array.

Of course THOSE problems existed even before the "trap ... INT" was put
into _main_complete, so TRAPINT() is in that sense no worse than what
we had for years.



Messages sorted by: Reverse Date, Date, Thread, Author