My preferred setup is running a terminal window with several tmux panes (a couple of shells, and an emacs session). What is the easiest way to send code from the emacs pane to be executed in the shell panes? For me this specifically means stuff like IPython, MySQL, bash, etc. Right now I have just been using copy paste with the mouse; this is suboptimal for obvious reasons.
Note: I do know that I can just run a shell in Emacs. However I don't like how all of the commands change/color changes from my normal shell (using different theme for emacs). If there is a way to set up the emacs shell perfectly like the normal shell I would also entertain that option.