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

Configuration Imports no longer appear to work #175

Open
2 tasks done
acburdine opened this issue Sep 21, 2024 · 0 comments · May be fixed by #176
Open
2 tasks done

Configuration Imports no longer appear to work #175

acburdine opened this issue Sep 21, 2024 · 0 comments · May be fixed by #176
Assignees
Labels
bug Something isn't working

Comments

@acburdine
Copy link

What happened?

Tried using sesh today for the first time, was working through some different configurations when I realized that the import = ["./some/other/file"] syntax appears to have been removed as part of the v2 rewrite, though the configuration property still exists in the config model 🤔

Happy to make a PR re-adding support for this, just thought I'd open an issue to track the work.

Example Configuration:

# sesh.toml
[[session]]
name = "dotfiles"
path = "~/dotfiles"
startup_command = "nvim ."

import = ["~/.config/sesh/sesh-2.toml"]
# sesh-2.toml
[[session]]
name = "test"
path = "/tmp"
startup_command = "ls -al"
❯ sesh list -c
dotfiles

Version

2.3.1

Relevant log output

No response

Reviewed

  • Reviewed existing issues and made sure this bug has not already been submitted.
  • I have read the documentation and understand how sesh works before submitting this bug
@acburdine acburdine added the bug Something isn't working label Sep 21, 2024
acburdine added a commit to acburdine/sesh that referenced this issue Sep 21, 2024
@acburdine acburdine linked a pull request Sep 21, 2024 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants