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

Multiplatform configuration #755

Closed
raphamorim opened this issue Nov 6, 2024 · 5 comments
Closed

Multiplatform configuration #755

raphamorim opened this issue Nov 6, 2024 · 5 comments
Assignees
Labels
good first issue Good for newcomers

Comments

@raphamorim
Copy link
Owner

Currently Rio has no way to have different shell, window and navigation per OS.

So, we should introduce a new property called platform, that allow overwrite per OS.

This new property will allow users to configure on demand

[shell]
# default (in this case will be used only on MacOS)
program = "/bin/fish"
args = ["--login"]

[platform]
# Microsoft Windows overwrite
windows.shell.program = "pwsh"
windows.shell.args = ["-l"]

# Linux overwrite
linux.shell.program = "tmux"
linux.shell.args = ["new-session", "-c", "/var/www"]
@raphamorim raphamorim added the good first issue Good for newcomers label Nov 6, 2024
@crispy-strawberry
Copy link
Contributor

I think I've got this working.

@raphamorim
Copy link
Owner Author

👀 would like to do a PR?

@crispy-strawberry
Copy link
Contributor

I will. Will tomorrow be fine?

@raphamorim
Copy link
Owner Author

For sure, no stress. take your time!

@raphamorim
Copy link
Owner Author

will assign this issue to you if is ok

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants