dotfiles.2022/_home/dot_sz.shrc.d/34_tmux.tools

10 lines
220 B
Plaintext

if [[ -n "$(which-command tmux)" ]]; then
function clip-tmux() {
tmux save-buffer -a - | clip
}
__C="$HOME/.local/share/bash-completion/tmux/completions/tmux"
[[ -r $__C ]] && . <( cat $__C )
unset __C
fi