Releases: joshmedeski/sesh
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"
v0.15.0
v0.14.0
- Sessions now support spaces in the path names or session names
- Make sure to update your fzf script to wrap the connect argument in quotes
bind-key "T" run-shell "sesh connect \"$(
sesh list -tz | fzf-tmux -p 55%,60% \
--no-sort --border-label ' sesh ' --prompt '⚡ ' \
--header ' ^a all ^t tmux ^x zoxide ^f find' \
--bind 'tab:down,btab:up' \
--bind 'ctrl-a:change-prompt(⚡ )+reload(sesh list)' \
--bind 'ctrl-t:change-prompt(🪟 )+reload(sesh list -t)' \
--bind 'ctrl-x:change-prompt(📁 )+reload(sesh list -z)' \
--bind 'ctrl-f:change-prompt(🔎 )+reload(fd -H -d 2 -t d -E .Trash . ~)'
)\""
The important parts are \"$("
before the sesh list and )\""
after.
Changelog
v0.13.0
v0.12.0
v0.11.0
I'm running into some growing pains with the project! Lots of people want to contribute but I need to make sure to balance bug fixes with refactors and ensure we aren't causing any regressions or losing features.
I added the determine logic back in this PR and I''m working to make sure more edge cases are working.
Please submit bugs with as much details as possible to help me get this project more stable. I'll be adding more testing have added a bug reporting template to help ease the process.
Thanks for all the feedback so far and those that have wanted to help make the code better! Excited to see this project grow in 2024.
Changelog
- 7b283a7 fix: add determine logic back