I thought it would be nice to pipe the output of commands to a tmp buffer. I came up with this solution. ``` #.bashrc function menos() {content="$(</dev/stdin)"; vterm_cmd menos "$content"; } } ;; init.el (defun my/menos (content) (switch-to-buffer (make-temp-name "menos-")) (insert content)) (push (list "menos" 'my/menos) vterm-eval-cmds) ``` Now I can do something like this `ls -l | menos` and a buffer will open with the output of that command. `menos` is `less` in spanish. # The problem with this solution It does not respect the format of command output. How to make it to respect the format of the command output.