Files
oh-my-zsh/plugins/safe-paste
Robby RussellandClaude Opus 5 756ce726f5 fix(safe-paste): drop set line that overwrote positional parameters
'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>
2026-09-05 16:13:08 -07:00
..
2019-10-20 19:19:58 +02:00

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)