I'm fairly new to tmux and to truly master and learn it, I decided to make myself a fresh .tmux.conf
I was wondering, though, if it's possible to hide a path in the status bar.
For example, I have this in my tmux.conf:
setw -g window-status-format '#I #10W' setw -g window-status-current-format '#[fg=red][#I:#10W]#F'
Now, let's use my window as an example.
In one window, I have macvim running. The tmux status bar changes to "[1:mvim]". That's exactly what I want. But I have another pane inside that window running ttytter. When I switch to it, tmux doesn't change the name to "1:[ttytter]"
Also, in another window, I have opened a directory with a long path name. tmux changes the status bar to "[1:...long/path]*". I've seen people run their tmux and it only says "zsh" for them. How can I have that too? I don't want the full path name inside my status bar.
I'm running tmux on OS X if that helps.
Thanks in advance for any help!