Comments (7)
I came up with a terrible idea 👼
Open new tmux sessions and set the session name on the destination server.
A small bar that has its host name can be placed on each pane !
xpanes -c 'ssh -t {} "tmux new -s {}"' cac0{1..6}
Just a kidding, hahaha.
from tmux-xpanes.
It seems that tmux 2.3 and upper version got the feature to customize each pane's border design with pane-border-format
property. It might be possible to display the hostname.
Stay tuned.
from tmux-xpanes.
@linuxmail
New option -t
was released 👍
https://github.com/greymd/tmux-xpanes/releases
from tmux-xpanes.
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
from tmux-xpanes.
Hi @linuxmail ,
Thank you for using tmux-xpanes 😸 !
put a small bar under every pane
As far as I know, both tmux and tmux-xpanes do not have such the feature for now.
But I can understand the matter, and I think it would be really helpful if such the feature existed.
FYI, usually, I update PS1
environment variable when I face same issue.
If you use bash, it may be helpful.
$ 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.
It may help you identify the pane and its target host.
$ xpanes -c 'ssh -t {} "export PS1=\"{} \W $ \";bash --norc -i"' {host01..host20}
from tmux-xpanes.
hi,
whoooo, its incredible 🥇
from tmux-xpanes.
WHOOOOO that is sooo whooo AWESOME. Thank you so much !!
from tmux-xpanes.
Related Issues (20)
- way to control the window-name HOT 4
- target specific window with new panes
- wanna run xpanes automatically at boot HOT 2
- on doing history content copy, window drops down to bottom of screen always HOT 4
- all panes will exit whenever I type <leader>+z too quick; not experienced in my non-xpanes tmux panes HOT 3
- Detach and re-attach + Use Case HOT 2
- add support for Jammy(ubuntu) versions HOT 1
- use xpanes for the same machine HOT 1
- How to create a Tmux and Xpanes session into one splited window? HOT 2
- [Debian] Cannot install using `apt` HOT 6
- sync feature causes `grep` error on recent macos when using `-s` mode HOT 10
- Automated testing fails: tmux 3.2a + bash 3.2 HOT 9
- Automated testing fails: tmux 3.2 + bash 4.2 HOT 5
- macOS M1: can't find window and can't find pane error HOT 1
- broken pane HOT 12
- New option to sleep for each pane creation HOT 2
- Proposal: remove shifts into variables in favour of positional parameter to local variables HOT 2
- Question: Is there any way to support "current pane" options? HOT 3
- Feature: --self-upgrade
- Feature: Reuse existing panes previously created by -x HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from tmux-xpanes.