Adding tmux-bash-completion as external source
This commit is contained in:
parent
668e42316d
commit
e6b701af99
|
@ -23,6 +23,12 @@
|
||||||
# clone.args = ["--depth=1"]
|
# clone.args = ["--depth=1"]
|
||||||
# refreshPeriod = "168h" # 7 days
|
# refreshPeriod = "168h" # 7 days
|
||||||
|
|
||||||
|
[".local/share/bash-completion/tmux"]
|
||||||
|
type = "git-repo"
|
||||||
|
url = "https://github.com/imomaliev/tmux-bash-completion"
|
||||||
|
clone.args = ["--depth=1","--single-branch"]
|
||||||
|
refreshPeriod = "168h" # 7 days
|
||||||
|
|
||||||
[".local/share/fonts/NF_CodeNewRoman"]
|
[".local/share/fonts/NF_CodeNewRoman"]
|
||||||
type = "archive"
|
type = "archive"
|
||||||
# url = "https://github.com/ryanoasis/nerd-fonts/releases/download/v2.1.0/CodeNewRoman.zip"
|
# url = "https://github.com/ryanoasis/nerd-fonts/releases/download/v2.1.0/CodeNewRoman.zip"
|
||||||
|
|
|
@ -2,4 +2,8 @@ if [[ -n "$(which-command tmux)" ]]; then
|
||||||
function clip-tmux() {
|
function clip-tmux() {
|
||||||
tmux save-buffer -a - | clip
|
tmux save-buffer -a - | clip
|
||||||
}
|
}
|
||||||
|
|
||||||
|
__C="$HOME/.local/share/bash-completion/tmux/completions/tmux"
|
||||||
|
[[ -r $__C ]] && . <( cat $__C )
|
||||||
|
unset __C
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in New Issue