Is there any way to activate/deactivate the logging of all input and output on a zsh session?
I am using oh-my-zsh with a customized prompt with colors, etc. and I would like to preserve all of these as possible (so that I can later open the log file in Emacs or less and have them re-parse the ansi color escape codes)
Does zsh provide any functionality to facilitate this type of logging?
Later on, what would be the best way to visualize the log files in Emacs (or some other editor) and have it properly parse all the ansi color escape codes?