Skip to content

Releases: joshmedeski/sesh

v2.8.0

07 Jan 05:20
0c3480c
Compare
Choose a tag to compare

Preview support for sesh is here! 🖼️ 🎉

Thanks to @danitrap for contributing (#203)

image

How to use

You can add --preview 'sesh preview {}' to your fzf configuration:

bind-key "T" run-shell "sesh connect \"$(
  sesh list --icons | fzf-tmux -p 80%,70% \
    --preview 'sesh preview {}'
)\""

The full fzf example can be seen on the project's README.md

How to configure

You can also customize the preview behavior by adding preview_command to your configurations. For example, you may want to list a directories files with eza or preview a file with bat.

[default_session]
preview_command = "lsd  --group-dirs first -A {path_to_directory}"

[[session]]
name = "tmux config"
path = "~/c/dotfiles/.config/tmux"
startup_command = "nvim tmux.conf"
preview_command = "bat ~/c/dotfiles/.config/tmux/tmux.conf"

Please test it out and let me know how you like it! Please submit an issue if you run into any issues.

v2.7.0

27 Nov 16:35
023e772
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v2.6.0...v.2.7.0

v2.6.0

18 Oct 01:25
2f1dfc1
Compare
Choose a tag to compare

What's Changed

SCR-20241017-rjvx

New Contributors

Full Changelog: v2.5.0...v2.6.0

v2.5.0

07 Oct 13:59
Compare
Choose a tag to compare

Lots of updates from the community, thank you all for contributing! 🎉

We've got some bug fixes and a couple of new features and, as always, feel free to open an issue to submit bugs and/or request new feature ideas.

What's Changed

New Contributors

Full Changelog: v2.4.0...v2.5.0

v2.4.0

27 Sep 01:06
Compare
Choose a tag to compare

To connect to the root session of a git worktree or repository from a nested session, use the --root flag with the sesh connect command.

I recommend adding this to your tmux.conf:

bind -N "switch to root session (via sesh) " 9 run-shell "sesh connect --root \'$(pwd)\'"

Note: This will only work if you are in a git worktree or git repository. For now, git worktrees expect a .bare folder.

What's Changed

Full Changelog: v2.3.3...v2.4.0

v2.3.3

22 Sep 03:05
Compare
Choose a tag to compare

Fix to goreleaser aur maintainer syntax

Full Changelog: v2.3.2...v2.3.3

v2.3.2

22 Sep 02:57
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v2.3.1...v2.3.2

v2.3.1

20 Sep 02:06
555884f
Compare
Choose a tag to compare

What's Changed

Full Changelog: v2.3.0...v2.3.1

v2.3.0

20 Sep 01:47
7c05d27
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v2.2.0...v2.3.0

v2.2.0

13 Sep 00:55
Compare
Choose a tag to compare

The default <prefix>+L command will "Switch the attached client back to the last session." However, if you close a session while detach-on-destroy off is set, the last session will not be found. To fix this, I have a sesh last command that will always switch the client to the second to last session that has been attached.

Add the following to your tmux.conf to overwrite the default last-session command:

bind -N "last-session (via sesh) " L run-shell "sesh-dev last"

WARNING: This is a brand new feature and is prone to have some slight changes in behavior. I'll be sure to post those changes here.

What's Changed

Full Changelog: v2.1.2...v2.2.0