Skip to content
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

Thoughts on "schemes"? #103

Open
paxperscientiam opened this issue Nov 11, 2018 · 3 comments
Open

Thoughts on "schemes"? #103

paxperscientiam opened this issue Nov 11, 2018 · 3 comments

Comments

@paxperscientiam
Copy link

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?

@greymd
Copy link
Owner

greymd commented Nov 12, 2018

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 ?

@paxperscientiam
Copy link
Author

paxperscientiam commented Nov 16, 2018

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!

@greymd
Copy link
Owner

greymd commented Nov 20, 2018

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 .

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants