tmux-xpanes
tmux-xpanes copied to clipboard
Thoughts on "schemes"?
Hey @greymd, in my workflow as it pertains to tmux-xpanes I use what I call "schemes."
For example, I have an iTerm profile called "XP::Packages" that executes this script after login:
${HOME}/.config/tmux-xpanes/schemes.bash pkgmgnt
function pkgmgnt() {
title Package management
xpanes -t -d -l t -c "{}" "title gems; gem outdated" \
"title macports; port outdated" \
"title yarn global; yarn global upgrade-interactive" \
"title composer global; composer global outdated"
}
Would it be possible to build in such a feature?
Hi @paxperscientiam,
I am afraid that I didn't get what you mean, sorry.
I understood you have the script that runs after login, and various package managers update packages simultaneously. cool.
I am sure that a new window is opened and title is set as "Package management".
The window has new tmux session and four panes will be created by xpanes.
What point is difficult or troublesome ?
Perhaps, do you hope the feature to set more definite pane's title like title command ?
hi @greymd ,
Maybe I could have been clearer. xpanes works great! I was suggesting an enhancement.
Like, inclusion of "schemes" like in OP under lib/schemes/ or something like that.
EDIT: Title might help ... I'll submit a PR!
Hi,
Thank you for using xpanes anyway ;)
I am welcome to any PRs or suggestions !
By the way, I've got the new idea recently. I am wondering it might be similar to what you expect #106 .