Skip to content

Commit

Permalink
use wildcard in suggested true color fix for tmux (#1560)
Browse files Browse the repository at this point in the history
  • Loading branch information
jcaplan committed Mar 2, 2024
1 parent 1f76e3e commit dcae5bc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion manual/src/tips-and-tricks/using-delta-with-tmux.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit dcae5bc

Please sign in to comment.