Skip to content

Allow overwriting of freeze files #64

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

Closed
Azrael3000 opened this issue Mar 27, 2014 · 7 comments
Closed

Allow overwriting of freeze files #64

Azrael3000 opened this issue Mar 27, 2014 · 7 comments
Labels

Comments

@Azrael3000
Copy link

Currently tmuxp doesn't allow that, so it might be nice to support that.

I'm going to send you a few more issues with enhancements that I thought off. None of it is essential but it would improve the overall handling imho. I'm going to open each in a different issue so that it is easier for you to keep track of things.

@tony
Copy link
Member

tony commented Mar 28, 2014

I am going to associate this with #51, so the freezer can have tests against handling IO situations like this.

@stale
Copy link

stale bot commented Nov 12, 2017

This issue has been automatically marked as stale because it has not had
recent activity. It will be closed if no further activity occurs. Thank you
for your contributions.

This bot is used to handle issues where the issue hasn't been discussed or
has gone out of date. If an issue isn't resolved and handled in a certain
period of time, it may be closed. If you would like your issue re-opened,
please create a fresh issue with the latest, up to date information and
mention this issue in it.

@stale stale bot added the stale label Nov 12, 2017
@stale stale bot closed this as completed Nov 19, 2017
@sakalys
Copy link

sakalys commented Jan 15, 2020

How do we reopen this?

@tony
Copy link
Member

tony commented Jan 15, 2020

@sakalys Reopened

@sakalys
Copy link

sakalys commented Jan 15, 2020

Currently, if you attempt to freeze and save the config to an existing file, then you are informed that you cannot do so, because the file already exists. I am willing to code and submit a pull request that would allow the tmuxp freeze command to overwrite the specified file.

Does anyone see any problems with this, because I did not look anywhere else in the code except the function responsible for the command?

@Ma-Nu-El
Copy link

Facing the same need here, it'd be great if tmuxp freeze could just overwrite an existing session.

I mean, yeah I could automate the deletion and then tmuxp freeze again, but that seems like an unnecessary workaround.

BTW, thanks for 'tmuxp'! It's the icing on the cake of my bash/vim/EmacsOrgmode/tmux workflow!

Cheers

@joseph-flinn
Copy link
Contributor

Thanks for using tmuxp! It seems like tmuxp freeze --force solves this issue with the above mentioned PR.

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

No branches or pull requests

5 participants