Loading of plugins goes work for /etc/skel so commented.

This commit is contained in:
Cyteen May 2020-02-25 00:06:19 +00:00
parent b82838535a
commit 4f8a7a5690
1 changed files with 16 additions and 2 deletions

View File

@ -1,4 +1,10 @@
#!/usr/bin/env bash
set -e
apt-cache search tmux
apt-cache search tmux-plugin-manager
apt-cache search tmuxp
apt-get update
apt-get install -y tmux
apt-get install -y tmux-plugin-manager
@ -197,8 +203,16 @@ set -g @plugin 'tmux-plugins/tmux-sensible'
run '/usr/share/tmux-plugin-manager/tpm'
EOF
## A Tmux theme made to work together with bullet-train.zsh
#https://github.com/caiogondim/maglev
# Depends: Tmux Pain Control Optional:
# Tmux copycat Tmux prefix highlight
# Tmux Yank Tmux Battery
# Tmux Open Tmux CPU
# Overwrites the heredoc above.
#cat > ${DEST}/.config/tmux/tmux.conf << 'EOF'
cat > ${DEST}/.tmux.conf << 'EOF'
@ -261,4 +275,4 @@ set -g @resurrect-save-shell-history 'on'
run '/usr/share/tmux-plugin-manager/tpm'
EOF
bash -c "/usr/share/tmux-plugin-manager/bin/install_plugins"
# TMUX_PLUGIN_MANAGER_PATH="${DEST}/.tmux/plugins" bash /usr/share/tmux-plugin-manager/bin/install_plugins