Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Last Command #165

Merged
merged 5 commits into from
Sep 13, 2024
Merged

Add Last Command #165

merged 5 commits into from
Sep 13, 2024

Conversation

joshmedeski
Copy link
Owner

Adds sesh last which will connect to the last tmux session.

  • Grabs the second session sorted by last attached date
  • Note: there is a slight delay from when the button can be pressed (like ~400ms)

Can be rebound with the following tmux.conf:

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

⚠️ Warning: This is will overwrite the default <prefix>+L command (that works similarly)

@joshmedeski joshmedeski merged commit 215493f into main Sep 13, 2024
4 checks passed
@joshmedeski joshmedeski deleted the last-cmd branch September 13, 2024 00:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant