Loading of plugins goes work for /etc/skel so commented.
This commit is contained in:
parent
b82838535a
commit
4f8a7a5690
18
020_tmux.sh
18
020_tmux.sh
|
|
@ -1,4 +1,10 @@
|
||||||
#!/usr/bin/env bash
|
#!/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 update
|
||||||
apt-get install -y tmux
|
apt-get install -y tmux
|
||||||
apt-get install -y tmux-plugin-manager
|
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'
|
run '/usr/share/tmux-plugin-manager/tpm'
|
||||||
EOF
|
EOF
|
||||||
|
|
||||||
|
## A Tmux theme made to work together with bullet-train.zsh
|
||||||
#https://github.com/caiogondim/maglev
|
#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}/.config/tmux/tmux.conf << 'EOF'
|
||||||
cat > ${DEST}/.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'
|
run '/usr/share/tmux-plugin-manager/tpm'
|
||||||
EOF
|
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
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue