-
-
Notifications
You must be signed in to change notification settings - Fork 57
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Set pane ssh title #81
Comments
Hi @linuxmail ,
As far as I know, both tmux and tmux-xpanes do not have such the feature for now. FYI, usually, I update $ ssh -t host01 'export PS1="[host01] \W $ "; bash --norc -i' It puts the "host01" at the beginning of the interactive screen like this. [host01] ~ $ Therefore, this command line would put the target hostname at the beginning of each pane. $ xpanes -c 'ssh -t {} "export PS1=\"{} \W $ \";bash --norc -i"' {host01..host20} |
It seems that tmux 2.3 and upper version got the feature to customize each pane's border design with |
hi, whoooo, its incredible 🥇 |
@linuxmail |
WHOOOOO that is sooo whooo AWESOME. Thank you so much !! |
To customize this title, I've found that this function works for setting a custom xpane title: function title {
echo -ne "\033]0;"$*"\007"
} Example I use with an iTerm profile: command xpanes -t -d -l eh -c "{}" "title money && emacs -s money -- $LEDGER_FILE_PERSONAL" "title accounting && clear" source: https://superuser.com/a/599156 |
Hi,
since I can't use mssh anymore, I learned to love tmux, because of xpanes :-) The only thing I miss under my Linux (bash), is to know, which pane is which (ssh) host. If I connect to 20 hosts or more, I have only the hostname, which you don't see always.
Is there a way to put a small bar under every pane which shows the hostname ?
cu denny
The text was updated successfully, but these errors were encountered: