Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/kjhaber/tm.zsh
Tmux shortcut plugin for zsh
https://github.com/kjhaber/tm.zsh
Last synced: about 2 months ago
JSON representation
Tmux shortcut plugin for zsh
- Host: GitHub
- URL: https://github.com/kjhaber/tm.zsh
- Owner: kjhaber
- License: mit
- Created: 2021-06-06T05:41:53.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2023-11-04T23:41:10.000Z (7 months ago)
- Last Synced: 2024-01-25T14:43:31.779Z (4 months ago)
- Language: Shell
- Size: 4.88 KB
- Stars: 6
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Lists
- awesome-zsh-plugins - tm - Simplifies creating new [tmux](https://tmux.github.io) sessions, attaching to existing sessions, switching between sessions, and listing active sessions. (Plugins / ZSH on Windows)
- awesome-zsh-plugins - tm - Simplifies creating new [tmux](https://tmux.github.io) sessions, attaching to existing sessions, switching between sessions, and listing active sessions. (Plugins / ZSH on Windows)
- fucking-awesome-zsh-plugins - tm - Simplifies creating new 🌎 [tmux](tmux.github.io) sessions, attaching to existing sessions, switching between sessions, and listing active sessions. (Plugins / ZSH on Windows)
README
# tm.zsh
Tmux shortcut plugin for zsh. Simplifies creating new tmux sessions, attaching to existing sessions, switching between sessions, and listing active sessions.## Usage
`tm`
Shows usage, and lists active tmux sessions.`tm `
* If session with given name does not exist, creates session and attaches to it.
* If session with given name exists and shell is not in a tmux session, attaches to the named session.
* If already in a tmux session, switches to the named session (creates session if it doesn't exist).This plugin enables autocomplete for session names to make usage even easier.
## Installation
First, if you do not use [tmux](https://github.com/tmux/tmux), this plugin will not be useful.Next, source tm.zsh in your zsh file.
Personally I use [Antibody](https://getantibody.github.io/) to load zsh plugins. Add `kjhaber/tm.zsh` to your plugin list, then reload zsh.