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