Releases: joshmedeski/sesh
v2.0.1
- Fixes minor out of bound issue (#148, thanks @kevinrobayna)
- Documentation removes reference to a startup script (#146, thanks @rubiin)
- Removed an extra print and some commented out testing code from last night's stream
v2.0.0
This is a full rewrite of sesh, it's finally here!
Here are some notable changes:
- I'm now using a dependency injection pattern, so every area of the application can be tested
- I'm using Mockery for automated mocking
- The
connect
logic got simplified and restructured. There are now "strategies" that are more concise and clear, making sesh's connect behavior more predictable
Breaking changes:
startup_script
is now dropped. I recommend you make your script files executable then change anystartup_script
configurations tostartup_command
Thank you all for the patience and support while I work through this rewrite. I'm excited to bring new features to sesh next so stay tuned in! I stream Thursday nights (CDT) so come join me while I continue to build sesh.
Fixing config path
- The config file now lives in
~/.config/sesh
on any OS. - Sesh doesn't require a config file, so if one is missing it will still work.
Icon Support
Added icon support! Works the same as v1 πͺ βοΈ π
Sesh v2, first beta release!
Sesh has been completely rewritten over the last few months! I'm not feature complete yet, but I'm ready for beta tests to help catch bugs and prepare for release.
Here is what's here:
- Completely rewritten codebase using the dependency injection pattern
- Simplified and more predictable and organized logic
- Automated package mocks using Mockery
Features completed so far:
sesh list
sesh connect
Features to complete:
sesh clone
- Icon support
What's changed?
- Dropped
startup_script
in favor ofstartup_command
-startup_script = "~/.config/sesh/scripts/node_dev"
+startup_command = "~/.config/sesh/scripts/node_dev"
Note: You'll need to make sure your script files are executable.
Please submit an GitHub issue or go to the linked discussion with any bugs, unexpected behavior, or requests as I finalize the v2 release, thanks!
v1.2.0
Connect no longer requires the argument to be wrapped in quotes, you can now pass as many arguments as you want and sesh will concatenate all of them together into one variable to determine the appropriate session. This is especially helpful when sesh list shows icons or a config session name includes a space.
Thanks for the contribution @kevinrobayna! π
v1.1.1
v1.1.0
- Support absolute session config paths
- Support
~/
and~
as a session config path - Silently continue if the config file isn't found
v1.0.1
Sesh config options and more!
Hello, sesh has officially hit v1.0! π
Thank you to all the contributors and community members that have helped test sesh for the past few months.
New Features
Import Additional Configurations
You can now import additional toml
files into the main file if you want to break up your configuration.
import = ["~/additional-config.toml"]
Default Session Configuration
You can now configure all session with a default command or script. It will execute that command after creating the session.
[default_session]
name = "dotfiles"
path = "~/code/dotfiles"
startup_command = "nvim -c ":Telescope find_files"
You can also write a script and execute it using the starup_script
. Note: You can only choose the startup script or startup command, they can't be used at the same time.
[default_session]
name = "dotfiles"
path = "~/code/dotfiles"
startup_script = "~/code/dotfiles/startup.sh"
Listing Configurations
Session configurations will now load by default if no flags are provided (the return after tmux sessions and before zoxide results). If you want to explicitly list them, you can use the -c
flag.
sesh list -c
Breaking Changes
Dropping [[startup_scripts]]
in place of [[session]]
-[[startup_scripts]]
-session_path = "~/c/joshmedeski.com"
-script_path = "~/. config/sesh/scripts/node_dev"
+[[session]]
+name = "joshmedeski.com"
+path = "~/c/joshmedeski.com"
+startup_script = "~/. config/sesh/scripts/node_dev"
Dropping default_startup_script
in place [default_session]
which supports startup_script
or startup_command
options
-default_startup_script = "~/.config/sesh/scripts/open_files"
+[default_session]
+startup_script = "~/.config/sesh/scripts/open_files"