mjg123··on Zsh Tricks to Blow Your MindIt's a feature of the zsh line editor called "push-line". http://zsh.sourceforge.net/Doc/Release/Zsh-Line-Editor.html