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

tmux does not have '-V' option #4

Open
rjc opened this issue Oct 26, 2017 · 3 comments
Open

tmux does not have '-V' option #4

rjc opened this issue Oct 26, 2017 · 3 comments

Comments

@rjc
Copy link

rjc commented Oct 26, 2017

Hi,

I'm running tmux on OpenBSD-current and attempting to run:

tmux source-file ~/.tmux.conf

spits out:

'~/.tmux/plugins/tundle/tundle' returned 1

When I run the script manually, this line returns 1:

tmux/plugins/tundle/scripts/helpers.sh:        TMUX_VERSION="$(_get_digits_from_string_helper "$(tmux -V)")"

It looks like -V option, had it ever existed, has been removed.

rjc

@rewalker3
Copy link

-V is the command for getting the version. It works on mine.

% tmux -V
tmux 1.9a

@rjc
Copy link
Author

rjc commented Oct 26, 2017

I know what the command is for :^)

Like I have said earlier, on OpenBSD - the platform on which tmux is being developed - it doesn't have that option - presumably, it had lost it over time. Therefore claiming that tundle is compatible with tmux version 1.6 and up is not true.

How about dropping the check altogether?

@javier-lopez
Copy link
Owner

Hello @rjc,

The current tmux portable version seems to differ in some aspects with the OpenBSD one, sadly the -V option seems to be one of them, unfortunately such check is important to determinate which tmux features are available, tundle will behave different depending in how old is tmux in order to provide as many features as possible. I've just opened an issue upstream: tmux/tmux#1141

If there is any other way to determinate the current version in OpenBSD I'll gladly incorporate such change , otherwise I'll add a better error message stating it as non supported platform =(

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

3 participants