branch: externals/dtache commit d0c5522c9e09e8bac0053553c040749d2578e942 Author: Niklas Eklund <niklas.ekl...@posteo.net> Commit: Niklas Eklund <niklas.ekl...@posteo.net>
Update README.md --- README.md | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/README.md b/README.md index e4b58e9705..601d817174 100644 --- a/README.md +++ b/README.md @@ -332,6 +332,18 @@ For these situations `dtache` provides the `dtache-nonattachable-commands` varia Here a command beginning with `ls` would from now on be considered nonattachable. +## Colors in sessions + +Many programs such as `git` or `grep` don't show colors in dtache unless they are forced to. This is because these commands only use colors and ansi sequences if they are being run in a terminal, as opposed to a pipe. This seting lets you get color output when you are running these programs interactively, while still getting readable output when you are piping them or redirecting them to a logfile. `Dtache` does not run programs in interactive terminal, though, so these commands turn off [...] + +*WARNING:* =Dtache= only supports a few basic escape sequences, so this fix /will/ mess up the output for some commands. + +First, put the following script into an executable file: + +``` emacs-lisp +(setq dtache-env-smart-mode-block-list '(".*")) +``` + # Tips & Tricks ## 3rd party extensions