Compare commits
3 Commits
0ea58b9f1c
...
master
Author | SHA1 | Date | |
---|---|---|---|
2baf45086d | |||
c21bfeb9fc | |||
47f58391bc |
@ -1,7 +0,0 @@
|
|||||||
#!/bin/bash
|
|
||||||
|
|
||||||
cd $HOME || exit 1
|
|
||||||
|
|
||||||
CONFDIR=.tmux
|
|
||||||
|
|
||||||
ln -sf $CONFDIR/config .tmux.conf
|
|
11
tmux.conf
11
tmux.conf
@ -73,9 +73,10 @@ set -g @plugin 'erikw/tmux-powerline'
|
|||||||
set -g @plugin "nordtheme/tmux"
|
set -g @plugin "nordtheme/tmux"
|
||||||
|
|
||||||
# Initialize TMUX plugin manager (keep this section at the very bottom of tmux.conf)
|
# Initialize TMUX plugin manager (keep this section at the very bottom of tmux.conf)
|
||||||
%hidden PLUGINGDIR="~/.local/state/tmux/plugins"
|
%hidden TMUX_PLUGINS_DIR="~/.local/state/tmux/plugins"
|
||||||
if "test ! -d ${PLUGINGDIR}" {
|
set-environment -g TMUX_PLUGIN_MANAGER_PATH "${TMUX_PLUGINS_DIR}"
|
||||||
run "mkdir -p $PLUGINGDIR && git clone https://github.com/tmux-plugins/tpm ${PLUGINGDIR}/tpm && ${PLUGINGDIR}/tpm/tpm && ${PLUGINGDIR}/tpm/bin/install_plugins"
|
if "test ! -d ${TMUX_PLUGINS_DIR}" {
|
||||||
} {
|
run "mkdir -p ${TMUX_PLUGINS_DIR} && git clone https://github.com/tmux-plugins/tpm ${TMUX_PLUGINS_DIR}/tpm"
|
||||||
run "${PLUGINGDIR}/tpm/tpm"
|
run "${TMUX_PLUGINS_DIR}/tpm/bin/install_plugins"
|
||||||
}
|
}
|
||||||
|
run "${TMUX_PLUGINS_DIR}/tpm/tpm"
|
||||||
|
Reference in New Issue
Block a user