On OS X, if I use tmux (or more usually, wemux for pairing) then I end up with oddly named windows like this:
This is because I’ve followed the awesome instructions from
Dr Bunsen’s Text Triumvirate
and in order to have the tmux and system (OS X) clipboards interacting, it
requires a hack called reattach-to-user-namespace
which proxies the running of
zsh in tmux.
One quick way to get around this and save time renaming my tmux windows, was to
use autoenv and add a file named
.env
to projects with content similar to:
tmux rename-window "project-name"
This is piling hacks on top of hacks, but at least it saves a bit of time for frequently visited directories.