Skip to content

Instantly share code, notes, and snippets.

@aborruso
Created February 14, 2024 15:05
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save aborruso/9e1adbe780603faf41b9ce768faabc9a to your computer and use it in GitHub Desktop.
Save aborruso/9e1adbe780603faf41b9ce768faabc9a to your computer and use it in GitHub Desktop.
+_debug_widget:3> _zsh_autosuggest_bound_1_bracketed-paste
+_zsh_autosuggest_bound_1_bracketed-paste:1> _zsh_autosuggest_widget_modify autosuggest-orig-1-bracketed-paste
+_zsh_autosuggest_widget_modify:1> local -i retval
+_zsh_autosuggest_widget_modify:3> _zsh_autosuggest_highlight_reset
+_zsh_autosuggest_highlight_reset:1> typeset -g _ZSH_AUTOSUGGEST_LAST_HIGHLIGHT
+_zsh_autosuggest_highlight_reset:3> [[ -n '' ]]
+_zsh_autosuggest_widget_modify:5> _zsh_autosuggest_modify autosuggest-orig-1-bracketed-paste
+_zsh_autosuggest_modify:1> local -i retval
+_zsh_autosuggest_modify:4> local -i KEYS_QUEUED_COUNT
+_zsh_autosuggest_modify:7> local orig_buffer=''
+_zsh_autosuggest_modify:8> local orig_postdisplay=''
+_zsh_autosuggest_modify:11> unset POSTDISPLAY
+_zsh_autosuggest_modify:14> _zsh_autosuggest_invoke_original_widget autosuggest-orig-1-bracketed-paste
+_zsh_autosuggest_invoke_original_widget:2> (( 1 ))
+_zsh_autosuggest_invoke_original_widget:4> local original_widget_name=autosuggest-orig-1-bracketed-paste
+_zsh_autosuggest_invoke_original_widget:6> shift
+_zsh_autosuggest_invoke_original_widget:8> (( 1 ))
+_zsh_autosuggest_invoke_original_widget:9> zle autosuggest-orig-1-bracketed-paste --
+_zsh_autosuggest_modify:15> retval=0
+_zsh_autosuggest_modify:17> emulate -L zsh
+_zsh_autosuggest_modify:20> (( 0 > 0 || 1 > 0 ))
+_zsh_autosuggest_modify:21> POSTDISPLAY=''
+_zsh_autosuggest_modify:22> return 0
+_zsh_autosuggest_widget_modify:6> retval=0
+_zsh_autosuggest_widget_modify:8> _zsh_autosuggest_highlight_apply
+_zsh_autosuggest_highlight_apply:1> typeset -g _ZSH_AUTOSUGGEST_LAST_HIGHLIGHT
+_zsh_autosuggest_highlight_apply:3> (( 0 ))
+_zsh_autosuggest_highlight_apply:7> unset _ZSH_AUTOSUGGEST_LAST_HIGHLIGHT
+_zsh_autosuggest_widget_modify:10> zle -R
+_zsh_autosuggest_widget_modify:12> return 0
+_debug_widget-bracketed-paste:3> _zsh_autosuggest_bound_1_bracketed-paste
+_zsh_autosuggest_bound_1_bracketed-paste:1> _zsh_autosuggest_widget_modify autosuggest-orig-1-bracketed-paste
+_zsh_autosuggest_widget_modify:1> local -i retval
+_zsh_autosuggest_widget_modify:3> _zsh_autosuggest_highlight_reset
+_zsh_autosuggest_highlight_reset:1> typeset -g _ZSH_AUTOSUGGEST_LAST_HIGHLIGHT
+_zsh_autosuggest_highlight_reset:3> [[ -n '' ]]
+_zsh_autosuggest_widget_modify:5> _zsh_autosuggest_modify autosuggest-orig-1-bracketed-paste
+_zsh_autosuggest_modify:1> local -i retval
+_zsh_autosuggest_modify:4> local -i KEYS_QUEUED_COUNT
+_zsh_autosuggest_modify:7> local orig_buffer=''
+_zsh_autosuggest_modify:8> local orig_postdisplay=''
+_zsh_autosuggest_modify:11> unset POSTDISPLAY
+_zsh_autosuggest_modify:14> _zsh_autosuggest_invoke_original_widget autosuggest-orig-1-bracketed-paste
+_zsh_autosuggest_invoke_original_widget:2> (( 1 ))
+_zsh_autosuggest_invoke_original_widget:4> local original_widget_name=autosuggest-orig-1-bracketed-paste
+_zsh_autosuggest_invoke_original_widget:6> shift
+_zsh_autosuggest_invoke_original_widget:8> (( 1 ))
+_zsh_autosuggest_invoke_original_widget:9> zle autosuggest-orig-1-bracketed-paste --
+_debug_widget-autosuggest-orig-1-bracketed-paste:3> bracketed-paste-magic
+bracketed-paste-magic:1> [[ zle-line-init = *vi-set-buffer ]]
+bracketed-paste-magic:7> local PASTED REPLY
+bracketed-paste-magic:8> zle .bracketed-paste PASTED
+bracketed-paste-magic:12> emulate
+bracketed-paste-magic:12> local bpm_emulate=zsh bpm_opts=569JNRXZghiklmsx
+bracketed-paste-magic:14> emulate -L zsh
+bracketed-paste-magic:15> local -a bpm_hooks bpm_inactive
+bracketed-paste-magic:16> local bpm_func bpm_active bpm_keymap=main
+bracketed-paste-magic:19> zstyle -a :bracketed-paste-magic paste-init bpm_hooks
+bracketed-paste-magic:30> zstyle -a :bracketed-paste-magic inactive-keys bpm_inactive
+bracketed-paste-magic:31> zstyle -s :bracketed-paste-magic active-widgets bpm_active '|'
+bracketed-paste-magic:33> integer bpm_mark=0 bpm_region=0
+bracketed-paste-magic:34> integer bpm_numeric=1
+bracketed-paste-magic:35> integer bpm_limit=0 bpm_undo=0
+bracketed-paste-magic:36> zle .split-undo
+bracketed-paste-magic:37> UNDO_LIMIT_NO=0
+bracketed-paste-magic:38> BUFFER=''
+bracketed-paste-magic:39> CURSOR=1
+bracketed-paste-magic:40> fc -p -a /dev/null 0 0
+bracketed-paste-magic:41> [[ '' = vicmd ]]
+bracketed-paste-magic:46> NUMERIC=1
+bracketed-paste-magic:47> zle -U - $'https://github\C-[Oncom/'
+bracketed-paste-magic:51> [[ -n $'https://github\C-[Oncom/' ]]
+bracketed-paste-magic:51> zle .read-command
+bracketed-paste-magic:52> PASTED=$'ttps://github\C-[Oncom/'
+bracketed-paste-magic:53> [[ h = ]]
+bracketed-paste-magic:56> case self-insert (self-*)
+bracketed-paste-magic:57> '(anon)'
+(anon):1> emulate -L zsh
+(anon):1> set -569JNRXZghiklmsx
+(anon):2> zle self-insert -w
+bracketed-paste-magic:51> [[ -n $'ttps://github\C-[Oncom/' ]]
+bracketed-paste-magic:51> zle .read-command
+bracketed-paste-magic:52> PASTED=$'tps://github\C-[Oncom/'
+bracketed-paste-magic:53> [[ t = ]]
+bracketed-paste-magic:56> case self-insert (self-*)
+bracketed-paste-magic:57> '(anon)'
+(anon):1> emulate -L zsh
+(anon):1> set -569JNRXZghiklmsx
+(anon):2> zle self-insert -w
+bracketed-paste-magic:51> [[ -n $'tps://github\C-[Oncom/' ]]
+bracketed-paste-magic:51> zle .read-command
+bracketed-paste-magic:52> PASTED=$'ps://github\C-[Oncom/'
+bracketed-paste-magic:53> [[ t = ]]
+bracketed-paste-magic:56> case self-insert (self-*)
+bracketed-paste-magic:57> '(anon)'
+(anon):1> emulate -L zsh
+(anon):1> set -569JNRXZghiklmsx
+(anon):2> zle self-insert -w
+bracketed-paste-magic:51> [[ -n $'ps://github\C-[Oncom/' ]]
+bracketed-paste-magic:51> zle .read-command
+bracketed-paste-magic:52> PASTED=$'s://github\C-[Oncom/'
+bracketed-paste-magic:53> [[ p = ]]
+bracketed-paste-magic:56> case self-insert (self-*)
+bracketed-paste-magic:57> '(anon)'
+(anon):1> emulate -L zsh
+(anon):1> set -569JNRXZghiklmsx
+(anon):2> zle self-insert -w
+bracketed-paste-magic:51> [[ -n $'s://github\C-[Oncom/' ]]
+bracketed-paste-magic:51> zle .read-command
+bracketed-paste-magic:52> PASTED=$'://github\C-[Oncom/'
+bracketed-paste-magic:53> [[ s = ]]
+bracketed-paste-magic:56> case self-insert (self-*)
+bracketed-paste-magic:57> '(anon)'
+(anon):1> emulate -L zsh
+(anon):1> set -569JNRXZghiklmsx
+(anon):2> zle self-insert -w
+bracketed-paste-magic:51> [[ -n $'://github\C-[Oncom/' ]]
+bracketed-paste-magic:51> zle .read-command
+bracketed-paste-magic:52> PASTED=$'//github\C-[Oncom/'
+bracketed-paste-magic:53> [[ : = ]]
+bracketed-paste-magic:56> case self-insert (self-*)
+bracketed-paste-magic:57> '(anon)'
+(anon):1> emulate -L zsh
+(anon):1> set -569JNRXZghiklmsx
+(anon):2> zle self-insert -w
+bracketed-paste-magic:51> [[ -n $'//github\C-[Oncom/' ]]
+bracketed-paste-magic:51> zle .read-command
+bracketed-paste-magic:52> PASTED=$'/github\C-[Oncom/'
+bracketed-paste-magic:53> [[ / = ]]
+bracketed-paste-magic:56> case self-insert (self-*)
+bracketed-paste-magic:57> '(anon)'
+(anon):1> emulate -L zsh
+(anon):1> set -569JNRXZghiklmsx
+(anon):2> zle self-insert -w
+bracketed-paste-magic:51> [[ -n $'/github\C-[Oncom/' ]]
+bracketed-paste-magic:51> zle .read-command
+bracketed-paste-magic:52> PASTED=$'github\C-[Oncom/'
+bracketed-paste-magic:53> [[ / = ]]
+bracketed-paste-magic:56> case self-insert (self-*)
+bracketed-paste-magic:57> '(anon)'
+(anon):1> emulate -L zsh
+(anon):1> set -569JNRXZghiklmsx
+(anon):2> zle self-insert -w
+bracketed-paste-magic:51> [[ -n $'github\C-[Oncom/' ]]
+bracketed-paste-magic:51> zle .read-command
+bracketed-paste-magic:52> PASTED=$'ithub\C-[Oncom/'
+bracketed-paste-magic:53> [[ g = ]]
+bracketed-paste-magic:56> case self-insert (self-*)
+bracketed-paste-magic:57> '(anon)'
+(anon):1> emulate -L zsh
+(anon):1> set -569JNRXZghiklmsx
+(anon):2> zle self-insert -w
+bracketed-paste-magic:51> [[ -n $'ithub\C-[Oncom/' ]]
+bracketed-paste-magic:51> zle .read-command
+bracketed-paste-magic:52> PASTED=$'thub\C-[Oncom/'
+bracketed-paste-magic:53> [[ i = ]]
+bracketed-paste-magic:56> case self-insert (self-*)
+bracketed-paste-magic:57> '(anon)'
+(anon):1> emulate -L zsh
+(anon):1> set -569JNRXZghiklmsx
+(anon):2> zle self-insert -w
+bracketed-paste-magic:51> [[ -n $'thub\C-[Oncom/' ]]
+bracketed-paste-magic:51> zle .read-command
+bracketed-paste-magic:52> PASTED=$'hub\C-[Oncom/'
+bracketed-paste-magic:53> [[ t = ]]
+bracketed-paste-magic:56> case self-insert (self-*)
+bracketed-paste-magic:57> '(anon)'
+(anon):1> emulate -L zsh
+(anon):1> set -569JNRXZghiklmsx
+(anon):2> zle self-insert -w
+bracketed-paste-magic:51> [[ -n $'hub\C-[Oncom/' ]]
+bracketed-paste-magic:51> zle .read-command
+bracketed-paste-magic:52> PASTED=$'ub\C-[Oncom/'
+bracketed-paste-magic:53> [[ h = ]]
+bracketed-paste-magic:56> case self-insert (self-*)
+bracketed-paste-magic:57> '(anon)'
+(anon):1> emulate -L zsh
+(anon):1> set -569JNRXZghiklmsx
+(anon):2> zle self-insert -w
+bracketed-paste-magic:51> [[ -n $'ub\C-[Oncom/' ]]
+bracketed-paste-magic:51> zle .read-command
+bracketed-paste-magic:52> PASTED=$'b\C-[Oncom/'
+bracketed-paste-magic:53> [[ u = ]]
+bracketed-paste-magic:56> case self-insert (self-*)
+bracketed-paste-magic:57> '(anon)'
+(anon):1> emulate -L zsh
+(anon):1> set -569JNRXZghiklmsx
+(anon):2> zle self-insert -w
+bracketed-paste-magic:51> [[ -n $'b\C-[Oncom/' ]]
+bracketed-paste-magic:51> zle .read-command
+bracketed-paste-magic:52> PASTED=$'\C-[Oncom/'
+bracketed-paste-magic:53> [[ b = ]]
+bracketed-paste-magic:56> case self-insert (self-*)
+bracketed-paste-magic:57> '(anon)'
+(anon):1> emulate -L zsh
+(anon):1> set -569JNRXZghiklmsx
+(anon):2> zle self-insert -w
+bracketed-paste-magic:51> [[ -n $'\C-[Oncom/' ]]
+bracketed-paste-magic:51> zle .read-command
+bracketed-paste-magic:52> PASTED=com/
+bracketed-paste-magic:53> [[ $'\C-[On' = ]]
+bracketed-paste-magic:56> case undefined-key (self-*)
+bracketed-paste-magic:56> case undefined-key (*)
+bracketed-paste-magic:61> zle .self-insert
+bracketed-paste-magic:51> [[ -n com/ ]]
+bracketed-paste-magic:51> zle .read-command
+bracketed-paste-magic:52> PASTED=om/
+bracketed-paste-magic:53> [[ c = ]]
+bracketed-paste-magic:56> case self-insert (self-*)
+bracketed-paste-magic:57> '(anon)'
+(anon):1> emulate -L zsh
+(anon):1> set -569JNRXZghiklmsx
+(anon):2> zle self-insert -w
+bracketed-paste-magic:51> [[ -n om/ ]]
+bracketed-paste-magic:51> zle .read-command
+bracketed-paste-magic:52> PASTED=m/
+bracketed-paste-magic:53> [[ o = ]]
+bracketed-paste-magic:56> case self-insert (self-*)
+bracketed-paste-magic:57> '(anon)'
+(anon):1> emulate -L zsh
+(anon):1> set -569JNRXZghiklmsx
+(anon):2> zle self-insert -w
+bracketed-paste-magic:51> [[ -n m/ ]]
+bracketed-paste-magic:51> zle .read-command
+bracketed-paste-magic:52> PASTED=/
+bracketed-paste-magic:53> [[ m = ]]
+bracketed-paste-magic:56> case self-insert (self-*)
+bracketed-paste-magic:57> '(anon)'
+(anon):1> emulate -L zsh
+(anon):1> set -569JNRXZghiklmsx
+(anon):2> zle self-insert -w
+bracketed-paste-magic:51> [[ -n / ]]
+bracketed-paste-magic:51> zle .read-command
+bracketed-paste-magic:52> PASTED=''
+bracketed-paste-magic:53> [[ / = ]]
+bracketed-paste-magic:56> case self-insert (self-*)
+bracketed-paste-magic:57> '(anon)'
+(anon):1> emulate -L zsh
+(anon):1> set -569JNRXZghiklmsx
+(anon):2> zle self-insert -w
+bracketed-paste-magic:51> [[ -n '' ]]
+bracketed-paste-magic:65> PASTED=https://githubncom/
+bracketed-paste-magic:68> zle -K main
+bracketed-paste-magic:69> fc -P
+bracketed-paste-magic:70> MARK=0
+bracketed-paste-magic:71> REGION_ACTIVE=0
+bracketed-paste-magic:72> NUMERIC=1
+bracketed-paste-magic:73> zle .undo 0
+bracketed-paste-magic:74> UNDO_LIMIT_NO=0
+bracketed-paste-magic:78> zstyle -a :bracketed-paste-magic paste-finish bpm_hooks
+bracketed-paste-magic:90> zle -U - $'https://githubncom/\C-[[201~'
+bracketed-paste-magic:91> zle .bracketed-paste --
+bracketed-paste-magic:92> zle .split-undo
+bracketed-paste-magic:95> [[ -z '' ]]
+bracketed-paste-magic:96> zle -R
+bracketed-paste-magic:97> zle .read-command
+_zsh_autosuggest_async_response:1> emulate -L zsh
+_zsh_autosuggest_async_response:3> local suggestion
+_zsh_autosuggest_async_response:5> [[ -z hup || hup == hup ]]
+_zsh_autosuggest_async_response:7> IFS='' +_zsh_autosuggest_async_response:7> read -rd '' -u 27 suggestion
+_zsh_autosuggest_async_response:8> zle autosuggest-suggest -- ''
+_zsh_autosuggest_async_response:15> zle -F 27
+bracketed-paste-magic:97> zle -U - $'\C-M'
+_zsh_autosuggest_modify:15> retval=0
+_zsh_autosuggest_modify:17> emulate -L zsh
+_zsh_autosuggest_modify:20> (( 0 > 0 || 1 > 0 ))
+_zsh_autosuggest_modify:21> POSTDISPLAY=''
+_zsh_autosuggest_modify:22> return 0
+_zsh_autosuggest_widget_modify:6> retval=0
+_zsh_autosuggest_widget_modify:8> _zsh_autosuggest_highlight_apply
+_zsh_autosuggest_highlight_apply:1> typeset -g _ZSH_AUTOSUGGEST_LAST_HIGHLIGHT
+_zsh_autosuggest_highlight_apply:3> (( 0 ))
+_zsh_autosuggest_highlight_apply:7> unset _ZSH_AUTOSUGGEST_LAST_HIGHLIGHT
+_zsh_autosuggest_widget_modify:10> zle -R
+_zsh_autosuggest_widget_modify:12> return 0
+_debug_widget-bracketed-paste:3> _zsh_autosuggest_bound_1_bracketed-paste
+_zsh_autosuggest_bound_1_bracketed-paste:1> _zsh_autosuggest_widget_modify autosuggest-orig-1-bracketed-paste
+_zsh_autosuggest_widget_modify:1> local -i retval
+_zsh_autosuggest_widget_modify:3> _zsh_autosuggest_highlight_reset
+_zsh_autosuggest_highlight_reset:1> typeset -g _ZSH_AUTOSUGGEST_LAST_HIGHLIGHT
+_zsh_autosuggest_highlight_reset:3> [[ -n '' ]]
+_zsh_autosuggest_widget_modify:5> _zsh_autosuggest_modify autosuggest-orig-1-bracketed-paste
+_zsh_autosuggest_modify:1> local -i retval
+_zsh_autosuggest_modify:4> local -i KEYS_QUEUED_COUNT
+_zsh_autosuggest_modify:7> local orig_buffer='gh '
+_zsh_autosuggest_modify:8> local orig_postdisplay=''
+_zsh_autosuggest_modify:11> unset POSTDISPLAY
+_zsh_autosuggest_modify:14> _zsh_autosuggest_invoke_original_widget autosuggest-orig-1-bracketed-paste
+_zsh_autosuggest_invoke_original_widget:2> (( 1 ))
+_zsh_autosuggest_invoke_original_widget:4> local original_widget_name=autosuggest-orig-1-bracketed-paste
+_zsh_autosuggest_invoke_original_widget:6> shift
+_zsh_autosuggest_invoke_original_widget:8> (( 1 ))
+_zsh_autosuggest_invoke_original_widget:9> zle autosuggest-orig-1-bracketed-paste --
+_debug_widget-autosuggest-orig-1-bracketed-paste:3> bracketed-paste-magic
+bracketed-paste-magic:1> [[ magic-space = *vi-set-buffer ]]
+bracketed-paste-magic:7> local PASTED REPLY
+bracketed-paste-magic:8> zle .bracketed-paste PASTED
+bracketed-paste-magic:12> emulate
+bracketed-paste-magic:12> local bpm_emulate=zsh bpm_opts=569JNRXZghiklmsx
+bracketed-paste-magic:14> emulate -L zsh
+bracketed-paste-magic:15> local -a bpm_hooks bpm_inactive
+bracketed-paste-magic:16> local bpm_func bpm_active bpm_keymap=main
+bracketed-paste-magic:19> zstyle -a :bracketed-paste-magic paste-init bpm_hooks
+bracketed-paste-magic:30> zstyle -a :bracketed-paste-magic inactive-keys bpm_inactive
+bracketed-paste-magic:31> zstyle -s :bracketed-paste-magic active-widgets bpm_active '|'
+bracketed-paste-magic:33> integer bpm_mark=0 bpm_region=0
+bracketed-paste-magic:34> integer bpm_numeric=1
+bracketed-paste-magic:35> integer bpm_limit=0 bpm_undo=3
+bracketed-paste-magic:36> zle .split-undo
+bracketed-paste-magic:37> UNDO_LIMIT_NO=3
+bracketed-paste-magic:38> BUFFER=''
+bracketed-paste-magic:39> CURSOR=1
+bracketed-paste-magic:40> fc -p -a /dev/null 0 0
+bracketed-paste-magic:41> [[ '' = vicmd ]]
+bracketed-paste-magic:46> NUMERIC=1
+bracketed-paste-magic:47> zle -U - zsh-bracketed-paste
+bracketed-paste-magic:51> [[ -n zsh-bracketed-paste ]]
+bracketed-paste-magic:51> zle .read-command
+bracketed-paste-magic:52> PASTED=sh-bracketed-paste
+bracketed-paste-magic:53> [[ z = ]]
+bracketed-paste-magic:56> case self-insert (self-*)
+bracketed-paste-magic:57> '(anon)'
+(anon):1> emulate -L zsh
+(anon):1> set -569JNRXZghiklmsx
+(anon):2> zle self-insert -w
+bracketed-paste-magic:51> [[ -n sh-bracketed-paste ]]
+bracketed-paste-magic:51> zle .read-command
+bracketed-paste-magic:52> PASTED=h-bracketed-paste
+bracketed-paste-magic:53> [[ s = ]]
+bracketed-paste-magic:56> case self-insert (self-*)
+bracketed-paste-magic:57> '(anon)'
+(anon):1> emulate -L zsh
+(anon):1> set -569JNRXZghiklmsx
+(anon):2> zle self-insert -w
+bracketed-paste-magic:51> [[ -n h-bracketed-paste ]]
+bracketed-paste-magic:51> zle .read-command
+bracketed-paste-magic:52> PASTED=-bracketed-paste
+bracketed-paste-magic:53> [[ h = ]]
+bracketed-paste-magic:56> case self-insert (self-*)
+bracketed-paste-magic:57> '(anon)'
+(anon):1> emulate -L zsh
+(anon):1> set -569JNRXZghiklmsx
+(anon):2> zle self-insert -w
+bracketed-paste-magic:51> [[ -n -bracketed-paste ]]
+bracketed-paste-magic:51> zle .read-command
+bracketed-paste-magic:52> PASTED=bracketed-paste
+bracketed-paste-magic:53> [[ - = ]]
+bracketed-paste-magic:56> case self-insert (self-*)
+bracketed-paste-magic:57> '(anon)'
+(anon):1> emulate -L zsh
+(anon):1> set -569JNRXZghiklmsx
+(anon):2> zle self-insert -w
+bracketed-paste-magic:51> [[ -n bracketed-paste ]]
+bracketed-paste-magic:51> zle .read-command
+bracketed-paste-magic:52> PASTED=racketed-paste
+bracketed-paste-magic:53> [[ b = ]]
+bracketed-paste-magic:56> case self-insert (self-*)
+bracketed-paste-magic:57> '(anon)'
+(anon):1> emulate -L zsh
+(anon):1> set -569JNRXZghiklmsx
+(anon):2> zle self-insert -w
+bracketed-paste-magic:51> [[ -n racketed-paste ]]
+bracketed-paste-magic:51> zle .read-command
+bracketed-paste-magic:52> PASTED=acketed-paste
+bracketed-paste-magic:53> [[ r = ]]
+bracketed-paste-magic:56> case self-insert (self-*)
+bracketed-paste-magic:57> '(anon)'
+(anon):1> emulate -L zsh
+(anon):1> set -569JNRXZghiklmsx
+(anon):2> zle self-insert -w
+bracketed-paste-magic:51> [[ -n acketed-paste ]]
+bracketed-paste-magic:51> zle .read-command
+bracketed-paste-magic:52> PASTED=cketed-paste
+bracketed-paste-magic:53> [[ a = ]]
+bracketed-paste-magic:56> case self-insert (self-*)
+bracketed-paste-magic:57> '(anon)'
+(anon):1> emulate -L zsh
+(anon):1> set -569JNRXZghiklmsx
+(anon):2> zle self-insert -w
+bracketed-paste-magic:51> [[ -n cketed-paste ]]
+bracketed-paste-magic:51> zle .read-command
+bracketed-paste-magic:52> PASTED=keted-paste
+bracketed-paste-magic:53> [[ c = ]]
+bracketed-paste-magic:56> case self-insert (self-*)
+bracketed-paste-magic:57> '(anon)'
+(anon):1> emulate -L zsh
+(anon):1> set -569JNRXZghiklmsx
+(anon):2> zle self-insert -w
+bracketed-paste-magic:51> [[ -n keted-paste ]]
+bracketed-paste-magic:51> zle .read-command
+bracketed-paste-magic:52> PASTED=eted-paste
+bracketed-paste-magic:53> [[ k = ]]
+bracketed-paste-magic:56> case self-insert (self-*)
+bracketed-paste-magic:57> '(anon)'
+(anon):1> emulate -L zsh
+(anon):1> set -569JNRXZghiklmsx
+(anon):2> zle self-insert -w
+bracketed-paste-magic:51> [[ -n eted-paste ]]
+bracketed-paste-magic:51> zle .read-command
+bracketed-paste-magic:52> PASTED=ted-paste
+bracketed-paste-magic:53> [[ e = ]]
+bracketed-paste-magic:56> case self-insert (self-*)
+bracketed-paste-magic:57> '(anon)'
+(anon):1> emulate -L zsh
+(anon):1> set -569JNRXZghiklmsx
+(anon):2> zle self-insert -w
+bracketed-paste-magic:51> [[ -n ted-paste ]]
+bracketed-paste-magic:51> zle .read-command
+bracketed-paste-magic:52> PASTED=ed-paste
+bracketed-paste-magic:53> [[ t = ]]
+bracketed-paste-magic:56> case self-insert (self-*)
+bracketed-paste-magic:57> '(anon)'
+(anon):1> emulate -L zsh
+(anon):1> set -569JNRXZghiklmsx
+(anon):2> zle self-insert -w
+bracketed-paste-magic:51> [[ -n ed-paste ]]
+bracketed-paste-magic:51> zle .read-command
+bracketed-paste-magic:52> PASTED=d-paste
+bracketed-paste-magic:53> [[ e = ]]
+bracketed-paste-magic:56> case self-insert (self-*)
+bracketed-paste-magic:57> '(anon)'
+(anon):1> emulate -L zsh
+(anon):1> set -569JNRXZghiklmsx
+(anon):2> zle self-insert -w
+bracketed-paste-magic:51> [[ -n d-paste ]]
+bracketed-paste-magic:51> zle .read-command
+bracketed-paste-magic:52> PASTED=-paste
+bracketed-paste-magic:53> [[ d = ]]
+bracketed-paste-magic:56> case self-insert (self-*)
+bracketed-paste-magic:57> '(anon)'
+(anon):1> emulate -L zsh
+(anon):1> set -569JNRXZghiklmsx
+(anon):2> zle self-insert -w
+bracketed-paste-magic:51> [[ -n -paste ]]
+bracketed-paste-magic:51> zle .read-command
+bracketed-paste-magic:52> PASTED=paste
+bracketed-paste-magic:53> [[ - = ]]
+bracketed-paste-magic:56> case self-insert (self-*)
+bracketed-paste-magic:57> '(anon)'
+(anon):1> emulate -L zsh
+(anon):1> set -569JNRXZghiklmsx
+(anon):2> zle self-insert -w
+bracketed-paste-magic:51> [[ -n paste ]]
+bracketed-paste-magic:51> zle .read-command
+bracketed-paste-magic:52> PASTED=aste
+bracketed-paste-magic:53> [[ p = ]]
+bracketed-paste-magic:56> case self-insert (self-*)
+bracketed-paste-magic:57> '(anon)'
+(anon):1> emulate -L zsh
+(anon):1> set -569JNRXZghiklmsx
+(anon):2> zle self-insert -w
+bracketed-paste-magic:51> [[ -n aste ]]
+bracketed-paste-magic:51> zle .read-command
+bracketed-paste-magic:52> PASTED=ste
+bracketed-paste-magic:53> [[ a = ]]
+bracketed-paste-magic:56> case self-insert (self-*)
+bracketed-paste-magic:57> '(anon)'
+(anon):1> emulate -L zsh
+(anon):1> set -569JNRXZghiklmsx
+(anon):2> zle self-insert -w
+bracketed-paste-magic:51> [[ -n ste ]]
+bracketed-paste-magic:51> zle .read-command
+bracketed-paste-magic:52> PASTED=te
+bracketed-paste-magic:53> [[ s = ]]
+bracketed-paste-magic:56> case self-insert (self-*)
+bracketed-paste-magic:57> '(anon)'
+(anon):1> emulate -L zsh
+(anon):1> set -569JNRXZghiklmsx
+(anon):2> zle self-insert -w
+bracketed-paste-magic:51> [[ -n te ]]
+bracketed-paste-magic:51> zle .read-command
+bracketed-paste-magic:52> PASTED=e
+bracketed-paste-magic:53> [[ t = ]]
+bracketed-paste-magic:56> case self-insert (self-*)
+bracketed-paste-magic:57> '(anon)'
+(anon):1> emulate -L zsh
+(anon):1> set -569JNRXZghiklmsx
+(anon):2> zle self-insert -w
+bracketed-paste-magic:51> [[ -n e ]]
+bracketed-paste-magic:51> zle .read-command
+bracketed-paste-magic:52> PASTED=''
+bracketed-paste-magic:53> [[ e = ]]
+bracketed-paste-magic:56> case self-insert (self-*)
+bracketed-paste-magic:57> '(anon)'
+(anon):1> emulate -L zsh
+(anon):1> set -569JNRXZghiklmsx
+(anon):2> zle self-insert -w
+bracketed-paste-magic:51> [[ -n '' ]]
+bracketed-paste-magic:65> PASTED=zsh-bracketed-paste
+bracketed-paste-magic:68> zle -K main
+bracketed-paste-magic:69> fc -P
+bracketed-paste-magic:70> MARK=0
+bracketed-paste-magic:71> REGION_ACTIVE=0
+bracketed-paste-magic:72> NUMERIC=1
+bracketed-paste-magic:73> zle .undo 3
+bracketed-paste-magic:74> UNDO_LIMIT_NO=0
+bracketed-paste-magic:78> zstyle -a :bracketed-paste-magic paste-finish bpm_hooks
+bracketed-paste-magic:90> zle -U - $'zsh-bracketed-paste\C-[[201~'
+bracketed-paste-magic:91> zle .bracketed-paste --
+bracketed-paste-magic:92> zle .split-undo
+bracketed-paste-magic:95> [[ -z '' ]]
+bracketed-paste-magic:96> zle -R
+bracketed-paste-magic:97> zle .read-command
+_zsh_autosuggest_async_response:1> emulate -L zsh
+_zsh_autosuggest_async_response:3> local suggestion
+_zsh_autosuggest_async_response:5> [[ -z hup || hup == hup ]]
+_zsh_autosuggest_async_response:7> IFS='' +_zsh_autosuggest_async_response:7> read -rd '' -u 27 suggestion
+_zsh_autosuggest_async_response:8> zle autosuggest-suggest -- ''
+_zsh_autosuggest_async_response:15> zle -F 27
+bracketed-paste-magic:97> zle -U - $'\t'
+_zsh_autosuggest_modify:15> retval=0
+_zsh_autosuggest_modify:17> emulate -L zsh
+_zsh_autosuggest_modify:20> (( 0 > 0 || 1 > 0 ))
+_zsh_autosuggest_modify:21> POSTDISPLAY=''
+_zsh_autosuggest_modify:22> return 0
+_zsh_autosuggest_widget_modify:6> retval=0
+_zsh_autosuggest_widget_modify:8> _zsh_autosuggest_highlight_apply
+_zsh_autosuggest_highlight_apply:1> typeset -g _ZSH_AUTOSUGGEST_LAST_HIGHLIGHT
+_zsh_autosuggest_highlight_apply:3> (( 0 ))
+_zsh_autosuggest_highlight_apply:7> unset _ZSH_AUTOSUGGEST_LAST_HIGHLIGHT
+_zsh_autosuggest_widget_modify:10> zle -R
+_zsh_autosuggest_widget_modify:12> return 0
+_debug_widget-bracketed-paste:3> _zsh_autosuggest_bound_1_bracketed-paste
+_zsh_autosuggest_bound_1_bracketed-paste:1> _zsh_autosuggest_widget_modify autosuggest-orig-1-bracketed-paste
+_zsh_autosuggest_widget_modify:1> local -i retval
+_zsh_autosuggest_widget_modify:3> _zsh_autosuggest_highlight_reset
+_zsh_autosuggest_highlight_reset:1> typeset -g _ZSH_AUTOSUGGEST_LAST_HIGHLIGHT
+_zsh_autosuggest_highlight_reset:3> [[ -n '' ]]
+_zsh_autosuggest_widget_modify:5> _zsh_autosuggest_modify autosuggest-orig-1-bracketed-paste
+_zsh_autosuggest_modify:1> local -i retval
+_zsh_autosuggest_modify:4> local -i KEYS_QUEUED_COUNT
+_zsh_autosuggest_modify:7> local orig_buffer='gh gist create --public '
+_zsh_autosuggest_modify:8> local orig_postdisplay=''
+_zsh_autosuggest_modify:11> unset POSTDISPLAY
+_zsh_autosuggest_modify:14> _zsh_autosuggest_invoke_original_widget autosuggest-orig-1-bracketed-paste
+_zsh_autosuggest_invoke_original_widget:2> (( 1 ))
+_zsh_autosuggest_invoke_original_widget:4> local original_widget_name=autosuggest-orig-1-bracketed-paste
+_zsh_autosuggest_invoke_original_widget:6> shift
+_zsh_autosuggest_invoke_original_widget:8> (( 1 ))
+_zsh_autosuggest_invoke_original_widget:9> zle autosuggest-orig-1-bracketed-paste --
+_debug_widget-autosuggest-orig-1-bracketed-paste:3> bracketed-paste-magic
+bracketed-paste-magic:1> [[ magic-space = *vi-set-buffer ]]
+bracketed-paste-magic:7> local PASTED REPLY
+bracketed-paste-magic:8> zle .bracketed-paste PASTED
+bracketed-paste-magic:12> emulate
+bracketed-paste-magic:12> local bpm_emulate=zsh bpm_opts=569JNRXZghiklmsx
+bracketed-paste-magic:14> emulate -L zsh
+bracketed-paste-magic:15> local -a bpm_hooks bpm_inactive
+bracketed-paste-magic:16> local bpm_func bpm_active bpm_keymap=main
+bracketed-paste-magic:19> zstyle -a :bracketed-paste-magic paste-init bpm_hooks
+bracketed-paste-magic:30> zstyle -a :bracketed-paste-magic inactive-keys bpm_inactive
+bracketed-paste-magic:31> zstyle -s :bracketed-paste-magic active-widgets bpm_active '|'
+bracketed-paste-magic:33> integer bpm_mark=0 bpm_region=0
+bracketed-paste-magic:34> integer bpm_numeric=1
+bracketed-paste-magic:35> integer bpm_limit=0 bpm_undo=50
+bracketed-paste-magic:36> zle .split-undo
+bracketed-paste-magic:37> UNDO_LIMIT_NO=50
+bracketed-paste-magic:38> BUFFER=''
+bracketed-paste-magic:39> CURSOR=1
+bracketed-paste-magic:40> fc -p -a /dev/null 0 0
+bracketed-paste-magic:41> [[ '' = vicmd ]]
+bracketed-paste-magic:46> NUMERIC=1
+bracketed-paste-magic:47> zle -U - zsh-bracketed-paste
+bracketed-paste-magic:51> [[ -n zsh-bracketed-paste ]]
+bracketed-paste-magic:51> zle .read-command
+bracketed-paste-magic:52> PASTED=sh-bracketed-paste
+bracketed-paste-magic:53> [[ z = ]]
+bracketed-paste-magic:56> case self-insert (self-*)
+bracketed-paste-magic:57> '(anon)'
+(anon):1> emulate -L zsh
+(anon):1> set -569JNRXZghiklmsx
+(anon):2> zle self-insert -w
+bracketed-paste-magic:51> [[ -n sh-bracketed-paste ]]
+bracketed-paste-magic:51> zle .read-command
+bracketed-paste-magic:52> PASTED=h-bracketed-paste
+bracketed-paste-magic:53> [[ s = ]]
+bracketed-paste-magic:56> case self-insert (self-*)
+bracketed-paste-magic:57> '(anon)'
+(anon):1> emulate -L zsh
+(anon):1> set -569JNRXZghiklmsx
+(anon):2> zle self-insert -w
+bracketed-paste-magic:51> [[ -n h-bracketed-paste ]]
+bracketed-paste-magic:51> zle .read-command
+bracketed-paste-magic:52> PASTED=-bracketed-paste
+bracketed-paste-magic:53> [[ h = ]]
+bracketed-paste-magic:56> case self-insert (self-*)
+bracketed-paste-magic:57> '(anon)'
+(anon):1> emulate -L zsh
+(anon):1> set -569JNRXZghiklmsx
+(anon):2> zle self-insert -w
+bracketed-paste-magic:51> [[ -n -bracketed-paste ]]
+bracketed-paste-magic:51> zle .read-command
+bracketed-paste-magic:52> PASTED=bracketed-paste
+bracketed-paste-magic:53> [[ - = ]]
+bracketed-paste-magic:56> case self-insert (self-*)
+bracketed-paste-magic:57> '(anon)'
+(anon):1> emulate -L zsh
+(anon):1> set -569JNRXZghiklmsx
+(anon):2> zle self-insert -w
+bracketed-paste-magic:51> [[ -n bracketed-paste ]]
+bracketed-paste-magic:51> zle .read-command
+bracketed-paste-magic:52> PASTED=racketed-paste
+bracketed-paste-magic:53> [[ b = ]]
+bracketed-paste-magic:56> case self-insert (self-*)
+bracketed-paste-magic:57> '(anon)'
+(anon):1> emulate -L zsh
+(anon):1> set -569JNRXZghiklmsx
+(anon):2> zle self-insert -w
+bracketed-paste-magic:51> [[ -n racketed-paste ]]
+bracketed-paste-magic:51> zle .read-command
+bracketed-paste-magic:52> PASTED=acketed-paste
+bracketed-paste-magic:53> [[ r = ]]
+bracketed-paste-magic:56> case self-insert (self-*)
+bracketed-paste-magic:57> '(anon)'
+(anon):1> emulate -L zsh
+(anon):1> set -569JNRXZghiklmsx
+(anon):2> zle self-insert -w
+bracketed-paste-magic:51> [[ -n acketed-paste ]]
+bracketed-paste-magic:51> zle .read-command
+bracketed-paste-magic:52> PASTED=cketed-paste
+bracketed-paste-magic:53> [[ a = ]]
+bracketed-paste-magic:56> case self-insert (self-*)
+bracketed-paste-magic:57> '(anon)'
+(anon):1> emulate -L zsh
+(anon):1> set -569JNRXZghiklmsx
+(anon):2> zle self-insert -w
+bracketed-paste-magic:51> [[ -n cketed-paste ]]
+bracketed-paste-magic:51> zle .read-command
+bracketed-paste-magic:52> PASTED=keted-paste
+bracketed-paste-magic:53> [[ c = ]]
+bracketed-paste-magic:56> case self-insert (self-*)
+bracketed-paste-magic:57> '(anon)'
+(anon):1> emulate -L zsh
+(anon):1> set -569JNRXZghiklmsx
+(anon):2> zle self-insert -w
+bracketed-paste-magic:51> [[ -n keted-paste ]]
+bracketed-paste-magic:51> zle .read-command
+bracketed-paste-magic:52> PASTED=eted-paste
+bracketed-paste-magic:53> [[ k = ]]
+bracketed-paste-magic:56> case self-insert (self-*)
+bracketed-paste-magic:57> '(anon)'
+(anon):1> emulate -L zsh
+(anon):1> set -569JNRXZghiklmsx
+(anon):2> zle self-insert -w
+bracketed-paste-magic:51> [[ -n eted-paste ]]
+bracketed-paste-magic:51> zle .read-command
+bracketed-paste-magic:52> PASTED=ted-paste
+bracketed-paste-magic:53> [[ e = ]]
+bracketed-paste-magic:56> case self-insert (self-*)
+bracketed-paste-magic:57> '(anon)'
+(anon):1> emulate -L zsh
+(anon):1> set -569JNRXZghiklmsx
+(anon):2> zle self-insert -w
+bracketed-paste-magic:51> [[ -n ted-paste ]]
+bracketed-paste-magic:51> zle .read-command
+bracketed-paste-magic:52> PASTED=ed-paste
+bracketed-paste-magic:53> [[ t = ]]
+bracketed-paste-magic:56> case self-insert (self-*)
+bracketed-paste-magic:57> '(anon)'
+(anon):1> emulate -L zsh
+(anon):1> set -569JNRXZghiklmsx
+(anon):2> zle self-insert -w
+bracketed-paste-magic:51> [[ -n ed-paste ]]
+bracketed-paste-magic:51> zle .read-command
+bracketed-paste-magic:52> PASTED=d-paste
+bracketed-paste-magic:53> [[ e = ]]
+bracketed-paste-magic:56> case self-insert (self-*)
+bracketed-paste-magic:57> '(anon)'
+(anon):1> emulate -L zsh
+(anon):1> set -569JNRXZghiklmsx
+(anon):2> zle self-insert -w
+bracketed-paste-magic:51> [[ -n d-paste ]]
+bracketed-paste-magic:51> zle .read-command
+bracketed-paste-magic:52> PASTED=-paste
+bracketed-paste-magic:53> [[ d = ]]
+bracketed-paste-magic:56> case self-insert (self-*)
+bracketed-paste-magic:57> '(anon)'
+(anon):1> emulate -L zsh
+(anon):1> set -569JNRXZghiklmsx
+(anon):2> zle self-insert -w
+bracketed-paste-magic:51> [[ -n -paste ]]
+bracketed-paste-magic:51> zle .read-command
+bracketed-paste-magic:52> PASTED=paste
+bracketed-paste-magic:53> [[ - = ]]
+bracketed-paste-magic:56> case self-insert (self-*)
+bracketed-paste-magic:57> '(anon)'
+(anon):1> emulate -L zsh
+(anon):1> set -569JNRXZghiklmsx
+(anon):2> zle self-insert -w
+bracketed-paste-magic:51> [[ -n paste ]]
+bracketed-paste-magic:51> zle .read-command
+bracketed-paste-magic:52> PASTED=aste
+bracketed-paste-magic:53> [[ p = ]]
+bracketed-paste-magic:56> case self-insert (self-*)
+bracketed-paste-magic:57> '(anon)'
+(anon):1> emulate -L zsh
+(anon):1> set -569JNRXZghiklmsx
+(anon):2> zle self-insert -w
+bracketed-paste-magic:51> [[ -n aste ]]
+bracketed-paste-magic:51> zle .read-command
+bracketed-paste-magic:52> PASTED=ste
+bracketed-paste-magic:53> [[ a = ]]
+bracketed-paste-magic:56> case self-insert (self-*)
+bracketed-paste-magic:57> '(anon)'
+(anon):1> emulate -L zsh
+(anon):1> set -569JNRXZghiklmsx
+(anon):2> zle self-insert -w
+bracketed-paste-magic:51> [[ -n ste ]]
+bracketed-paste-magic:51> zle .read-command
+bracketed-paste-magic:52> PASTED=te
+bracketed-paste-magic:53> [[ s = ]]
+bracketed-paste-magic:56> case self-insert (self-*)
+bracketed-paste-magic:57> '(anon)'
+(anon):1> emulate -L zsh
+(anon):1> set -569JNRXZghiklmsx
+(anon):2> zle self-insert -w
+bracketed-paste-magic:51> [[ -n te ]]
+bracketed-paste-magic:51> zle .read-command
+bracketed-paste-magic:52> PASTED=e
+bracketed-paste-magic:53> [[ t = ]]
+bracketed-paste-magic:56> case self-insert (self-*)
+bracketed-paste-magic:57> '(anon)'
+(anon):1> emulate -L zsh
+(anon):1> set -569JNRXZghiklmsx
+(anon):2> zle self-insert -w
+bracketed-paste-magic:51> [[ -n e ]]
+bracketed-paste-magic:51> zle .read-command
+bracketed-paste-magic:52> PASTED=''
+bracketed-paste-magic:53> [[ e = ]]
+bracketed-paste-magic:56> case self-insert (self-*)
+bracketed-paste-magic:57> '(anon)'
+(anon):1> emulate -L zsh
+(anon):1> set -569JNRXZghiklmsx
+(anon):2> zle self-insert -w
+bracketed-paste-magic:51> [[ -n '' ]]
+bracketed-paste-magic:65> PASTED=zsh-bracketed-paste
+bracketed-paste-magic:68> zle -K main
+bracketed-paste-magic:69> fc -P
+bracketed-paste-magic:70> MARK=0
+bracketed-paste-magic:71> REGION_ACTIVE=0
+bracketed-paste-magic:72> NUMERIC=1
+bracketed-paste-magic:73> zle .undo 50
+bracketed-paste-magic:74> UNDO_LIMIT_NO=0
+bracketed-paste-magic:78> zstyle -a :bracketed-paste-magic paste-finish bpm_hooks
+bracketed-paste-magic:90> zle -U - $'zsh-bracketed-paste\C-[[201~'
+bracketed-paste-magic:91> zle .bracketed-paste --
+bracketed-paste-magic:92> zle .split-undo
+bracketed-paste-magic:95> [[ -z '' ]]
+bracketed-paste-magic:96> zle -R
+bracketed-paste-magic:97> zle .read-command
+_zsh_autosuggest_async_response:1> emulate -L zsh
+_zsh_autosuggest_async_response:3> local suggestion
+_zsh_autosuggest_async_response:5> [[ -z hup || hup == hup ]]
+_zsh_autosuggest_async_response:7> IFS='' +_zsh_autosuggest_async_response:7> read -rd '' -u 29 suggestion
+_zsh_autosuggest_async_response:8> zle autosuggest-suggest -- ''
+_zsh_autosuggest_async_response:15> zle -F 29
+bracketed-paste-magic:97> zle -U - $'\t'
+_zsh_autosuggest_modify:15> retval=0
+_zsh_autosuggest_modify:17> emulate -L zsh
+_zsh_autosuggest_modify:20> (( 0 > 0 || 1 > 0 ))
+_zsh_autosuggest_modify:21> POSTDISPLAY=''
+_zsh_autosuggest_modify:22> return 0
+_zsh_autosuggest_widget_modify:6> retval=0
+_zsh_autosuggest_widget_modify:8> _zsh_autosuggest_highlight_apply
+_zsh_autosuggest_highlight_apply:1> typeset -g _ZSH_AUTOSUGGEST_LAST_HIGHLIGHT
+_zsh_autosuggest_highlight_apply:3> (( 0 ))
+_zsh_autosuggest_highlight_apply:7> unset _ZSH_AUTOSUGGEST_LAST_HIGHLIGHT
+_zsh_autosuggest_widget_modify:10> zle -R
+_zsh_autosuggest_widget_modify:12> return 0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment