Closed bitprophet closed 10 years ago
For reference this is what I ended up doing on my end: https://github.com/bitprophet/teamocil/compare/master...no-session-renames-plz
rename-session
ends up executed. Yay!Happy to PR w/ specs (sometime) if I get a +1 on this approach.
I’m going to close the issue because most of the codebase has since changed. Feel free to reopen it if you feel this is an issue in Teamocil 1.0+.
Scenario:
teamocil-
(I think tmux is truncating the name, possible)lib/teamocil/layout/session.rb::Session#initialize
).This seems to regress whatever was done to fix #5.
I regret I have no time to submit a PR for this, partly as I'm not sure what the preferred fix would be.
Suspect best is for implicitly created sessions to skip the automatic name generation - folks using the session are by definition not creating new sessions and do not need the collision-avoidance random name.