You are not logged in.
Hi guys!
tmux's default status bar ,can change the window title dynamicly, when I use some command apps like vim,htop.
but when I change the config file ,it can't do that , I want to know what the default status-left define?
some configs from google all use the #[default] ,but it can't change the title,either!:(
this is my config:
175 #set -g status-left '#[fg=green,bold][#H#[fg=green,bold] #[fg=green,bold]#S]#[fg=yellow,bold]#[default]'
176 #set -g status-right '#[fg=cyan,bold] %m/%d %H:%M#[default]'
thanks for your help!!!:D
Last edited by 57lvii (2010-06-27 14:25:36)
Life is fantastic, we all pray it gives us the plain comfort life, do not tempt us.
But only in the face of difficult choices, we face the real self, we define ourselves !
Offline
Hi,
You need to tell tmux to change name automaticly:
set-option -g set-titles on
set-option -g set-titles-string '#S:#I.#P #W'
set-window-option -g automatic-rename on
Offline
thanks pyknite
set-window-option -g automatic-rename on
this line solve the problem !
Life is fantastic, we all pray it gives us the plain comfort life, do not tempt us.
But only in the face of difficult choices, we face the real self, we define ourselves !
Offline