mirror of
https://github.com/robbyrussell/oh-my-zsh.git
synced 2026-10-03 08:23:47 +02:00
'set zle_bracketed_paste' cannot restore a zsh default: there is no option by that name, and 'set' with a bare word assigns positional parameters. Sourcing the plugin replaced $1 with the literal string 'zle_bracketed_paste'. zle_bracketed_paste is an array parameter, so nothing here was setting it either. Removing the line does not change paste behaviour. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
safe-paste
Preventing any code from actually running while pasting, so you have a chance to review what was actually pasted before running it.
To use it, add safe-paste to the plugins array in your zshrc file:
plugins=(... safe-paste)