zsh-autosuggestions icon indicating copy to clipboard operation
zsh-autosuggestions copied to clipboard

Always reset file descriptor after consuming it

Open codicodi opened this issue 4 years ago • 0 comments

This prevents the request cancelling logic from closing an unrelated fd that happens to reuse the same number.

https://github.com/zsh-users/zsh-autosuggestions/blob/a411ef3e0992d4839f0732ebeb9823024afaaaa8/src/async.zsh#L12-L15

codicodi avatar Sep 16 '21 22:09 codicodi