EMPL pipe terminal commands output into emacs directly Install add this line to your .bashrc or .zshrc ... # EMPL Command alias empl='cat - > /tmp/emc_buffer ; emacs -nw /tmp/emc_buffer'