It seems like this would be a ubiquitous desire: capture the output of a command in eshell into a new buffer and when the command is completed, show the buffer in the other window. For example, I just did:
rails g scaffold --help > #<scaffold>
and then I did
C-x 4 b scaffold although
view-buffer-other-window is probably more what I want here.
Is there already an existing syntax to do this? If not, I'm thinking adding a plus sign:
rails g scaffold --help > #+<scaffold>
It appears that I use
eshell-parse-argument-hook to do this?