joshmedeski / sesh

Smart session manager for the terminal
MIT License
410 stars 16 forks source link

refactor(config): use `import` to replace extended_configs #88

Closed 0xRichardH closed 3 months ago

0xRichardH commented 3 months ago

https://github.com/joshmedeski/sesh/pull/84#issuecomment-2021764541

# ~/.config/sesh/sesh.toml

default_startup_script = "default"

import = ["~/.config/sesh/local/sesh.toml"]

[[startup_scripts]]
session_path = "~/dev/first_session"
script_path = "~/.config/sesh/scripts/first_script"

[[startup_scripts]]
session_path = "~/dev/second_session"
script_path = "~/.config/sesh/scripts/second_script"