https://github.com/mcandre/tmux-completion
tab completion for tmux sessions
https://github.com/mcandre/tmux-completion
Last synced: about 1 year ago
JSON representation
tab completion for tmux sessions
- Host: GitHub
- URL: https://github.com/mcandre/tmux-completion
- Owner: mcandre
- Created: 2015-09-16T16:17:41.000Z (almost 11 years ago)
- Default Branch: master
- Last Pushed: 2020-09-12T18:02:57.000Z (almost 6 years ago)
- Last Synced: 2025-02-01T23:36:27.740Z (over 1 year ago)
- Language: Shell
- Homepage: https://github.com/mcandre/tmux-completion
- Size: 18.6 KB
- Stars: 3
- Watchers: 2
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# tmux-completion - tab completion for tmux sessions
# EXAMPLE
```console
$ tmux new -s rsync
$ rsync ...
C-b d
$ tmux attach -t r[TAB]
$ tmux attach -t rsync
```
# INSTALL
Download [tmux-completion.sh](https://raw.githubusercontent.com/mcandre/tmux-completion/master/lib/tmux-completion.sh) and place into `$HOME`:
```console
wget -O $HOME/tmux-completion.sh https://raw.githubusercontent.com/mcandre/tmux-completion/master/lib/tmux-completion.sh
```
Then configure your `$HOME/.bash_profile` or similar shell configuration to use tmux-completion:
```console
# tmux-completion
# See https://raw.githubusercontent.com/mcandre/tmux-completion/master/lib/tmux-completion.sh
. $HOME/tmux-completion.sh
```
Then update your shell:
```console
$ source $HOME/.bash_profile
```
# REQUIREMENTS
* [bash](https://www.gnu.org/software/bash/)
## Optional
* [Python](https://www.python.org/) 3+
* [GHC Haskell](https://www.haskell.org/) 8+
* [Go](https://golang.org/) 1.9+
* [GNU make](https://www.gnu.org/software/make/)
* [checkbashisms](https://sourceforge.net/projects/checkbaskisms/)
# CREDITS
Inspired by [git prompt](https://github.com/git/git/blob/master/contrib/completion/git-prompt.sh).