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

Doesn't work on macOS? #38

Open
carstenbauer opened this issue Apr 6, 2020 · 2 comments
Open

Doesn't work on macOS? #38

carstenbauer opened this issue Apr 6, 2020 · 2 comments

Comments

@carstenbauer
Copy link

carstenbauer commented Apr 6, 2020

In my tmux.conf I have

source-file '/Users/crstnbr/.tmux-themepack/powerline/default/cyan.tmuxtheme'

What I get when starting tmux:

/Users/crstnbr/.tmux-themepack/powerline/default/cyan.tmuxtheme:10: unknown command:

Versions:
macOS Catalina 10.15.4
tmux 3.0a

Could it be an incompatibility with tmux version >=3.0?

Any pointers to how to fix this will be highly appreciated!

@jimeh
Copy link
Owner

jimeh commented Apr 6, 2020

That is very strange. Myself I'm on macOS 10.15.2 and tmux 3.0a at the moment and it works just fine.

The error makes it look like it's mistaking a blank line (10) for a command with no name, and complains it understandably can't find a nameless command.

Have you tried loading any other themes like the basic of default ones to see if they behave similarly?

Also, you should be able to refer to your home folder via the HOME environment variable instead of the absolute path:

source-file "${HOME}/.tmux-themepack/powerline/default/cyan.tmuxtheme"

@carstenbauer
Copy link
Author

Have you tried loading any other themes like the basic of default ones to see if they behave similarly?

Yes I have, same/similar result.

Also, you should be able to refer to your home folder via the HOME environment variable instead of the absolute path:

Yeah, I switched to the explicit path at some point to rule out a potential error source.

I'll try to investigate this further, but frankly don't really know how. FWIW, I'm using iTerm instead of Terminal, but I guess that doesn't matter.

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