Since I use "zsh 4.3.17 (x86_64-unknown-linux-gnu)" version the trick "zstyle ':completion::*' insert-tab 'pending=1'" worked for me. I will put it in ".zshrc". I usually deal with tab-delimited tables, and it was really annoying for me when I wanted to parse some parts using shell commands Thank you very much! Xavi 2016-09-01 18:37 GMT+02:00 Bart Schaefer : > On Sep 1, 3:48pm, Christian Neukirchen wrote: > } Subject: Re: zsh Issue - "Tab" character is not pasted into shell > } > } Xavier Martinez Serrano writes: > } > } > I recently experimented an issue when pasting "tab" characters to zsh > } > } Without special copy&paste support, "pasting" just means the terminal > } emulator types in the text very quickly, and means to do > } completion in this case... > > If you are using completions from "compinit" you can do this: > > zstyle ':completion::*' insert-tab 'pending=1' > > This causes completion to look for pending input when it sees a TAB > character and insert the tab literally if there's more input after it. > Typically this happens only when pasting unless you are working with > a very slow connection or a heavily loaded CPU, so the effect is that > you are able to paste tabs without having completion consume them. > > } That said, recent zsh support terminal copy&paste, so with my zsh 5.2 > } this works out of the box (setopt zle_bracketed_paste), at least in > } urxvt and xterm. > > There's actually no setopt for this, it's on by default. To turn it > OFF you must do "unset zle_bracketed_paste" (it's a parameter, not an > option). >