Releases: joshmedeski/sesh
v2.8.0
Preview support for sesh is here! 🖼️ 🎉
Thanks to @danitrap for contributing (#203)
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
What's Changed
- docs(readme): improve tmux script to work with icons by @hadronomy in #194
- docs(readme): fix typo by @henok-9 in #193
- Reimplement Clone Command by @garrettkrohn in #197
New Contributors
- @hadronomy made their first contribution in #194
- @henok-9 made their first contribution in #193
- @garrettkrohn made their first contribution in #197
Full Changelog: v2.6.0...v.2.7.0
v2.6.0
What's Changed
- docs(readme): reset zsh prompt after calling sesh-sessions script by @alexandre-abrioux in #189
- feat: Add logger by @alcb1310 in #179
- Add
sesh root
command to easily filter by the active project automatically by @joshmedeski in #191
New Contributors
- @alexandre-abrioux made their first contribution in #189
Full Changelog: v2.5.0...v2.6.0
v2.5.0
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
- feat: reimplement --hide-attached option by @TomDeneire in #185
- feat: disable_startup_command for sessions by @Catgroove in #174
- fix: tmuxinator list parsing by @kadriandev in #187
- fix: re-add support for config imports by @acburdine in #176
New Contributors
- @TomDeneire made their first contribution in #185
- @kadriandev made their first contribution in #187
- @Catgroove made their first contribution in #174
- @acburdine made their first contribution in #176
Full Changelog: v2.4.0...v2.5.0
v2.4.0
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
- Add connect root flag by @joshmedeski in #183
Full Changelog: v2.3.3...v2.4.0
v2.3.3
Fix to goreleaser aur maintainer syntax
Full Changelog: v2.3.2...v2.3.3
v2.3.2
v2.3.1
v2.3.0
What's Changed
- fix(docs): fix readme by @albertilagan in #168
- Add Tmuxinator Support by @kadriandev and @joshmedeski in #171
New Contributors
- @albertilagan made their first contribution in #168
- @kadriandev made their first contribution in #171
Full Changelog: v2.2.0...v2.3.0
v2.2.0
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
- Add Last Command by @joshmedeski in #165
Full Changelog: v2.1.2...v2.2.0