Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Sunday afternoon project: bracketed-paste-magic
Whoops, changed a "local" to "integer" and didn't test with quote-paste
removed from paste-finish.
I'll push with this change included.
diff --git a/Functions/Zle/bracketed-paste-magic b/Functions/Zle/bracketed-paste-magic
index b0944f7..da106d1 100644
--- a/Functions/Zle/bracketed-paste-magic
+++ b/Functions/Zle/bracketed-paste-magic
@@ -133,7 +133,7 @@ bracketed-paste-magic() {
# Save context, create a clean slate for the paste
integer bpm_mark=$MARK bpm_cursor=$CURSOR bpm_region=$REGION_ACTIVE
- integer bpm_numeric=$NUMERIC
+ integer bpm_numeric=${NUMERIC:-1}
local bpm_buffer=$BUFFER
fc -p -a /dev/null 0 0
BUFFER=
Messages sorted by:
Reverse Date,
Date,
Thread,
Author