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

Re: Escaping of pasted URLs no more works with 5.0.8-test-3 (compared to 5.0.8)



On Aug 27,  6:56pm, Axel Beckert wrote:
}
}   autoload -Uz bracketed-paste-magic
}   zle -N bracketed-paste bracketed-paste-magic
} 
} Now it seems to work again, thanks! Interestingly zsh 5.0.8 seems to
} have no issue with that config either, so I don't have to guard it
} with some version test. Neat!

There is no bracketed-paste built-in widget in 5.0.8 or before, so there
is no binding to invoke it and the autoload will never need to resolve.

See zsh-users/20450 for how to add bracketed-paste support to older
versions as a user-defined widget, but it'd take some wrangling to
combine that with bracketed-paste-magic.  I briefly toyed with making
bracketed-paste-magic backwards-installable, but decided that was too
ugly.



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