Skip to content

Releases: joshmedeski/sesh

v2.0.1

23 Aug 15:03
Compare
Choose a tag to compare
  • 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

23 Aug 02:13
f999ba7
Compare
Choose a tag to compare

This is a full rewrite of sesh, it's finally here!

Here are some notable changes:

  1. I'm now using a dependency injection pattern, so every area of the application can be tested
  2. I'm using Mockery for automated mocking
  3. 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:

  1. startup_script is now dropped. I recommend you make your script files executable then change any startup_script configurations to startup_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

06 Aug 01:34
Compare
Choose a tag to compare
Fixing config path Pre-release
Pre-release
  • 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

06 Aug 03:01
Compare
Choose a tag to compare
Icon Support Pre-release
Pre-release

Added icon support! Works the same as v1 πŸͺŸ βš™οΈ πŸ“‚

Sesh v2, first beta release!

02 Aug 01:38
Compare
Choose a tag to compare
Pre-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 of startup_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

29 May 12:36
c05f32a
Compare
Choose a tag to compare

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

16 May 14:16
Compare
Choose a tag to compare

Quick patch to support a trailing / on any of the config paths and still detect the startup command and startup script feature.

Thanks @rtalexk for reporting it.

v1.1.0

29 Mar 14:14
Compare
Choose a tag to compare
  • Support absolute session config paths
  • Support ~/ and ~ as a session config path
  • Silently continue if the config file isn't found

v1.0.1

29 Mar 01:18
Compare
Choose a tag to compare

Changelog

  • b22bd9b chore: remove broken nfpms goreleaser config

Sesh config options and more!

29 Mar 01:10
Compare
Choose a tag to compare
SCR-20240328-rnuj

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"