Celeb Glow
updates | March 10, 2026

How can I set Tmux pane title, like "zsh-prompt : powerlevel9k"?

When I open many panes in Tmux, and do something like ls or git status, the screen has a lot of prompt like:

many prompt on screen

I want to have this complex prompt on the top of pane, and only # on current line.

Like:

ideal tmux pane

How can I do this?
I am using iTerm2 with zsh powerlevel9k theme.

1 Answer

I made a script to implement this.

just put this in .tmux.conf:

set -g pane-border-format '#(sh ~/.config/functions/pane-border-format.sh \ --pane-current-path=#{pane_current_path} \ --pane-active=#{pane_active})'

script modified from

Your Answer

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy