How to use a startup command that is aware of the path #292
-
|
I want to use a script that creates a couple of tmux windows but for that I need to know the path that I assign to the session, and I don't want to write it twice, is there a solution that I can use for that? sesh.toml node_dev.sh |
Beta Was this translation helpful? Give feedback.
Answered by
joshmedeski
Oct 8, 2025
Replies: 1 comment 9 replies
-
|
Hey @elpic, you can try the new window configuration feature if you'd like: [[session]]
name = "Personal 👨💻"
path = "~/workspace/development/personal/"
windows = [ "nvim", "terminal" ]
[[window]]
name = "nvim"
startup_script = "nvim +Telescope\ find_files"
[[window]]
name = "terminal"
startup_script = "ls"Hope this helps! |
Beta Was this translation helpful? Give feedback.
9 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I'm not sure how to help you debug more. pwd is working when using the startup command.
I recommend joining my Discord server and I can talk with you directly and try to figure it out.
Look for the discord icon at the top of my website to sign up:
https://www.joshmedeski.com/