Tmux Bash Completion
Tmux bash completion
Install / Use
npx skills add imomaliev/tmux-bash-completionInstalls into whichever agent you are using.
README
TMUX bash completion
Archived: Bash completion for tmux is now part of the bash-completion, please read more here
TMUX bash completion based on bash-it's tmux completion
Available completions
- commands
- files
- sessions
- windows
Installation
Using bash-completion
This installation method requires bash-completion 1.2 or higher.
-
Follow the installation instructions for
bash-completion -
Determine the correct spot to place this plugin.
</details>Q. Where should I install my own local completions?
A. Put them in the completions subdir of
$BASH_COMPLETION_USER_DIR(defaults to$XDG_DATA_HOME/bash-completionor~/.local/share/bash-completionif$XDG_DATA_HOMEis not set) to have them loaded automatically on demand when the respective command is being completed. See also the next question's answer for considerations for these files' names, they apply here as well. Alternatively, you can write them directly in~/.bash_completionwhich is loaded eagerly by our main script.
$ dir="${BASH_COMPLETION_DIR:-"${XDG_DATA_HOME:-"$HOME/.local/share"}/bash-completion"}/completions"
$ mkdir -p "$dir"
- Download the file
$ curl -fSsL "https://raw.githubusercontent.com/imomaliev/tmux-bash-completion/master/completions/tmux" > "${dir?error: dir not set: you must run the previous commands first}/tmux"
- Reload your configuration files
$ source ~/.bashrc
Without bash-completion
You can simply download the completion file and source it as part of your shell startup.
$ curl -fSsL "https://raw.githubusercontent.com/imomaliev/tmux-bash-completion/master/completions/tmux" > ~/.bash.tmux-bash-completion
$ echo 'source ~/.bash.tmux-bash-completion' >> ~/.bashrc
$ source ~/.bashrc # load it for your current session
TODO
- use
list-sessions -F - check all cases for
complete -o default
Related Skills
node-connect
385.5kDiagnose OpenClaw Android, iOS, or macOS node pairing, QR/setup code, route, auth, and connection failures.
blender-python-addon
40.5kBlender Python add-on rules for operators, panels, properties, registration, testing, and API-safe scripting
flutter-development-guidelines-cursorrules-prompt-file
40.5kCursor rules for Flutter development with MVVM architecture, Riverpod state management, Material widgets, and Dart style guidelines.
commit-push-pr
140.6kCommit, push, and open a PR
