:::: So it turned out it's not a bug in <code>prezto</code>, but <code>coreutils</code>. It's tracked [https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=791921 here]. The fix will be in <code>coreutils-8.25</code>. After that's fixed I see no reason to not use <code>TERM=tmux-256color</code> everywhere. My 2c. [[User:MaikuMori|MaikuMori]] ([[User talk:MaikuMori|talk]]) 21:45, 29 January 2016 (UTC)

:::: So it turned out it's not a bug in <code>prezto</code>, but <code>coreutils</code>. It's tracked [https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=791921 here]. The fix will be in <code>coreutils-8.25</code>. After that's fixed I see no reason to not use <code>TERM=tmux-256color</code> everywhere. My 2c. [[User:MaikuMori|MaikuMori]] ([[User talk:MaikuMori|talk]]) 21:45, 29 January 2016 (UTC)

−

−

== <s> Autostart with systemd </s> ==

−

: There are some notable advantages to starting a tmux server at startup.

−

There is also at least one disadvantage, isn't there? Namely that the systemd started tmux will exit when one logs out — unless one has set the “long-running sessions” (or something like that) option in systemd.

Actually, it seems that the screen-256color terminfo is working since the upgrade to nurses 6. I suggest completly removing the section to avoid any confusion. Nicop06 (talk) 21:38, 5 January 2016 (UTC)

I've been using TERM=tmux-256color since the update. Overall things work, but there are some places and programs which have issues with it. The most common one is prezto (zsh config) doesn't use color for a lot of commands. I believe it fails to detect if term has color and falls back to color-less command arguments. I just filed a bug report for prezto. There were some other issues which I can't remember right now. Maybe some info notice should be added about this. MaikuMori (talk) 09:15, 6 January 2016 (UTC)

So it turned out it's not a bug in prezto, but coreutils. It's tracked here. The fix will be in coreutils-8.25. After that's fixed I see no reason to not use TERM=tmux-256color everywhere. My 2c. MaikuMori (talk) 21:45, 29 January 2016 (UTC)

Outdated keybinding tip

The Tip about mimic screen key bindings suggest to copy /usr/share/tmux/screen-keys.conf file. But according to the tmux package content this file is not installed along with tmux.