brandur/tmux-extra — pull request #4 by mathstuf (2011-12-02 01:03:56+00:00)
Title: dev/misc-fixes

Newer tmux versions (trunk, but will be in 1.6) support using format strings to get exact output for listing sessions and the like. This allows the grep formats to be much simpler and precise.

Also some other tweaks (trailing space and using grep -c instead of grep | wc -l).