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

Session name with dot inside won't load #132

Closed
tony opened this issue Jan 24, 2016 · 3 comments
Closed

Session name with dot inside won't load #132

tony opened this issue Jan 24, 2016 · 3 comments

Comments

@tony
Copy link
Member

@tony tony commented Jan 24, 2016

If a session is already open, loading a session name with a dot in between will detect the session as already running and offer to attach it.

❯ tmuxp -v
tmuxp 0.9.3
❯ tmux -V
tmux 2.1
@DXist
Copy link

@DXist DXist commented Sep 15, 2016

+1

tony added a commit that referenced this issue Sep 15, 2016
See also: #132, #122
@tony
Copy link
Member Author

@tony tony commented Sep 15, 2016

originally I thought it was due to fnmatch(3)'s period grabbing, its more of an issue with tmux itself.

Related thread from tmux-users list: https://www.mail-archive.com/tmux-users@lists.sourceforge.net/msg05759.html

tmux treats periods in sessions as invalid:

❯ tmux new-session -s moo.moo
bad session name: moo.moo
@DXist
Copy link

@DXist DXist commented Sep 15, 2016

It's interesting point. I guess it's possible to handle troubles with tmux invocations at libtmux level and raise more meaningful exception.

tony added a commit to tmux-python/libtmux that referenced this issue Sep 16, 2016
@tony tony closed this in 2f1283b Sep 16, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
2 participants
You can’t perform that action at this time.