tmux-bash-completion icon indicating copy to clipboard operation
tmux-bash-completion copied to clipboard

how to use it?

Open iamwlb opened this issue 4 years ago • 5 comments

how to use it?

iamwlb avatar Apr 03 '20 15:04 iamwlb

What operating system are you using?

imomaliev avatar Apr 04 '20 03:04 imomaliev

What operating system are you using? Ubuntu 16.04

NianHu avatar Apr 15 '20 08:04 NianHu

Have you installed bash-completion?

imomaliev avatar Apr 25 '20 12:04 imomaliev

move completions/tmux to /usr/share/bash-completion/completions/

keob avatar Jan 29 '21 08:01 keob

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.

RichardBronosky avatar Dec 23 '21 02:12 RichardBronosky