summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJonah Caplan <jonah.caplan@mail.mcgill.ca>2024-03-02 12:10:57 -0500
committerGitHub <noreply@github.com>2024-03-02 12:10:57 -0500
commitdcae5bcc2428d1fb6f5ff7b9cddd7f268d9a3735 (patch)
treeadcc6528c314cbdccc2c92f6da8122acc67b133b
parent1f76e3e89444f462ae888247c8443f395ddf022f (diff)
use wildcard in suggested true color fix for tmux (#1560)
-rw-r--r--manual/src/tips-and-tricks/using-delta-with-tmux.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/manual/src/tips-and-tricks/using-delta-with-tmux.md b/manual/src/tips-and-tricks/using-delta-with-tmux.md
index 4c02a97d..781faf2b 100644
--- a/manual/src/tips-and-tricks/using-delta-with-tmux.md
+++ b/manual/src/tips-and-tricks/using-delta-with-tmux.md
@@ -3,7 +3,7 @@
If you're using tmux, it's worth checking that 24 bit color is working correctly. For example, run a color test script like [this one](https://gist.githubusercontent.com/lifepillar/09a44b8cf0f9397465614e622979107f/raw/24-bit-color.sh), or one of the others listed [here](https://gist.github.com/XVilka/8346728). If you do not see smooth color gradients, see the discussion at [tmux#696](https://github.com/tmux/tmux/issues/696). The short version is you need something like this in your `~/.tmux.conf`:
```Shell
-set -ga terminal-overrides ",xterm-256color:Tc"
+set -ga terminal-overrides ",*-256color:Tc"
```
and you may then need to quit tmux completely for it to take effect.