Skip to content

maxiskell/t

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 

Repository files navigation

t

Zoxide-powered directory-based smart tmux sessions.

Usage example

From anywhere in your terminal (even inside tmux), run:

t <query>

This will:

  1. cd into the first match for <query>
  2. if zoxide found a match, tmux will attach to the corrsponding session

If no session exists, it will create a new one and attach to it.

Credit

This is a hyper-minimalist and modest version of joshmedeski's t-smart-tmux-session-manager, based on the first version shown on his video.

Prerequisites

Installation

From wherever in your terminal, run the following

git clone git@github.com:maxiskell/t.git && sudo mv t/t /usr/local/bin && rm -rf t

Recommended tmux settings

Add these settings to your tmux.conf for a better experience.

# don't exit from tmux when closing a session
set -g detach-on-destroy off

# skip "kill-pane 1? (y/n)" prompt
bind x kill-pane

About

zoxide-powered smart tmux sessions

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages