Adding tmux-bash-completion as external source
This commit is contained in:
parent
668e42316d
commit
e6b701af99
2 changed files with 10 additions and 0 deletions
|
@ -2,4 +2,8 @@ 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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue