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 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 commented Sep 15, 2016

+1

@tony
Copy link
Member Author

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 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.

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