tmux-bash-completion
tmux-bash-completion copied to clipboard
how to use it?
how to use it?
What operating system are you using?
What operating system are you using? Ubuntu 16.04
Have you installed bash-completion?
move completions/tmux to /usr/share/bash-completion/completions/
They really ought to add some of this to the README. For Debian/Ubuntu, I did:
src_url="https://github.com/imomaliev/tmux-bash-completion/raw/master/completions/tmux"
dest_path="/usr/share/bash-completion/completions/tmux"
sudo apt install bash-completion
curl -L "$src_url" | sudo tee "$dest_path" > /dev/null
source "$dest_path"
Then simply doing tmux <Tab><Tab>
generates a list of tmux commands for completion.