-
Notifications
You must be signed in to change notification settings - Fork 53
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
Disable Startup Command #153
Comments
I recommend setting it to something like |
That works. Feels a bit hacky but good enough for now. |
Do you have any suggestions? We could detect if the startup command is an empty value then don't run the default command. Not sure if that's very intuitive |
What do you think of this [[session]]
name = "fish config"
path = "~/c/dotfiles/.config/fish"
disable_startup_command = true It should be trivial to implement, but I think adding some sort of simple command is easy enough. |
Looks good! More intuitive than leaving it empty, for sure, even though that's what I tried initially. |
Great, I'll add this as an official feature to be worked on soon. As a user, I want to disable the default startup command, to avoid unwanted behavior for certain sessions and improve my workflow.
[[session]]
name = "fish config"
path = "~/c/dotfiles/.config/fish"
disable_startup_command = true |
Is there a way to disable it for a normal path without adding it to the config sessions. I tend to move to the root folder of my projects and I don't want it to open [[session]]
path = '~/Projects'
disable_startup_command = true |
For now, there isn't a way to disable the default startup command on specific directories without creating a custom config. For now, you'll have to include the name: [[session]]
name = 'Projects'
path = '~/Projects'
disable_startup_command = true I'll think of some ideas for how we could approach a better configuration solution for this use case. |
What would you like sesh to do?
Apologies if this is already possible.
When using a default session along with a startup command, I would like to be able to clear that on a session basis using something along the lines of
startup_command = ""
.Why?
For my default startup command, I typically want to always run
nvim
, but for some specific sessions, I would just like to be placed in the directory, for example when I'm opening up my folder of git repositories.The text was updated successfully, but these errors were encountered: