$ tmux new -s rsync
$ rsync ...
C-b d
$ tmux attach -t r[TAB]
$ tmux attach -t rsyncDownload tmux-completion.sh and place into $HOME:
wget -O $HOME/tmux-completion.sh https://raw.githubusercontent.com/mcandre/tmux-completion/master/lib/tmux-completion.shThen configure your $HOME/.bash_profile or similar shell configuration to use tmux-completion:
# tmux-completion
# See https://raw.githubusercontent.com/mcandre/tmux-completion/master/lib/tmux-completion.sh
. $HOME/tmux-completion.shThen update your shell:
$ source $HOME/.bash_profile- Python 3+
- GHC Haskell 8+
- Go 1.9+
- GNU make
- checkbashisms
Inspired by git prompt.