Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/benjamin-carpene/tmux-zoxide-sessionizer
A simple yet usefull tmux sessionizer using zoxide
https://github.com/benjamin-carpene/tmux-zoxide-sessionizer
bash script session session-management tmux zoxide
Last synced: 9 days ago
JSON representation
A simple yet usefull tmux sessionizer using zoxide
- Host: GitHub
- URL: https://github.com/benjamin-carpene/tmux-zoxide-sessionizer
- Owner: benjamin-carpene
- License: mit
- Created: 2024-09-22T00:29:56.000Z (3 months ago)
- Default Branch: main
- Last Pushed: 2024-11-09T21:08:13.000Z (about 1 month ago)
- Last Synced: 2024-11-09T22:18:56.685Z (about 1 month ago)
- Topics: bash, script, session, session-management, tmux, zoxide
- Language: Shell
- Homepage:
- Size: 3.91 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Description
TZ is a simple and stupid glue script to make a Tmux-Zoxide sessionizer.
The goal is to use the power of zoxide to create tmux sessions in one line and no time.
This script's aim is to keep it simple, with as few dependencies as possible, in bash, as it should be.
No useless packages required, no additional libraries and package managers, just tmux [ and zoxide :) ].# Features
- Open a tmux session using a zoxide-registered directory
- Connect to an existing tmux session
- Can be used inside a tmux session 😀
- Uses `fzf`'s TUI to select a directory if no argument were given# Usage
## Synopsis
`tz [zoxide_dir] | [--help | -h]`
- zoxide_dir: the directory searched for in zoxide
- If it is set, tz will search for this directory in zoxide and open it as a tmux session
- If it is unset, you will be prompted interactively to select a zoxide directory
- --help | -h: Shows this help message## Example
`tz feature-a`: Create / connect to a session attached to 'feature-a' directory.
`tz`: Asks for the user to select a directory to create / connect to a session.# Installation
1. Clone this repo : `git clone https://github.com/benjamin-carpene/tz.git`
2. Use the installation script : `cd tz && ./install.sh`