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

tmuxifier inside existing tmux session causes errors #68

Open
joshgillies opened this issue Mar 1, 2016 · 6 comments
Open

tmuxifier inside existing tmux session causes errors #68

joshgillies opened this issue Mar 1, 2016 · 6 comments

Comments

@joshgillies
Copy link

A workflow I'm trying to achieve would allow me to spin up tmux sessions at will. However it seems as though if I'm currently inside a tmux session I get the following errors:

~ tmuxifier s example-session
can't find window example-window
couldn't set 'allow-rename'~

Any idea?

@GeeF
Copy link

GeeF commented Aug 17, 2016

At least for me this also happens outside of tmux, if the name of the session differs from the filename.
Correction: It happens, if the window title is the same for multiple windows in a session.

@wilmoore
Copy link

I've also noticed this; however, I've simply worked around it by detaching first, then loading the new session.

@joshgillies
Copy link
Author

@wilmoore totally, I've come to the same conclusion. Not ideal but it works.

I think the reason it hit this in the first place, was I wanted to be able to spawn other sessions based from a "parent" session.

Eg. tmuxifier s app which itself calls tmuxifier s db-server && tmuxifier s api-server

@wilmoore
Copy link

Yup, same thing here. 👍

@breneser
Copy link

breneser commented Jun 20, 2017

Same problem here, and I am starting a new tmux instance whenever I open a terminal window. That's why it is kind of annoying not being able to load a session inside a tmux session.

Is there a plan to fix this?

@cappuMUC
Copy link

I've stumbled over this issue while trying tmuxifier. The cause of the issue is that the session isn't specified in the set-option command for allow-rename so tmux defaults to the current session. I've opened a pull request for the fix.

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

5 participants