Powerline Segments Not Showing Up in Tmux

Note to self.

When I set up a new Mac, I like to install Powerline for tmux. Powerline documentation recommends installing using:

pip install --user git+git://github.com/Lokaltog/powerline

This install Powerline into the user directory, to ~/Library/Python/2.7/lib/python/site-packages/powerline. When I fire up tmux I don’t get the “segments” that are usually found at the bottom right of the screen. This happens because they rely on the powerline executable, which was installed to ~/Library/Python/2.7/bin/. This path isn’t in my $PATH by default.

Solution: Add ~/Library/Python/2.7/bin/ to $PATH.