* correctly automatic tpm tmux plugins install - loading tpm for the existing TMUX_PLUGIN_MANAGER_PATH variable for correctly working install_plugins script

This commit is contained in:
2024-10-16 16:02:29 +03:00
parent 05823efcb7
commit ef7f6c92b3
3 changed files with 13 additions and 10 deletions

View File

@ -37,6 +37,8 @@ bind-key -T copy-mode-vi WheelDownPane send-keys -X halfpage-down
bind r source-file ~/.tmux.conf
# Initialize TMUX plugin manager (keep this line at the very bottom of tmux.conf)
if "test ! -d ~/.tmux/plugins/tpm" \
"run 'git clone https://github.com/tmux-plugins/tpm ~/.tmux/plugins/tpm && ~/.tmux/plugins/tpm/bin/install_plugins'"
run '~/.tmux/plugins/tpm/tpm'
if-shell "test ! -d ~/.tmux/plugins/tpm" \
"run 'git clone https://github.com/tmux-plugins/tpm ~/.tmux/plugins/tpm'; run '~/.tmux/plugins/tpm/tpm'; run '~/.tmux/plugins/tpm/bin/install_plugins'; run '~/.tmux/plugins/tpm/tpm'" \
"run '~/.tmux/plugins/tpm/tpm'"
# vim: se ft=tmux :