From 745432b20365c283e35d8c7d877dd96a4b0b4fd7 Mon Sep 17 00:00:00 2001 From: Daniel Flanagan Date: Fri, 14 Feb 2020 12:30:09 -0600 Subject: [PATCH] Tmux config --- apps/shell/tmux/conf | 2 +- bin/lib/arch-linux/provisioning/tmux-plugins.bash | 8 ++++---- bin/lib/debian/provisioning/install-tmux-plugins.bash | 8 ++++---- 3 files changed, 9 insertions(+), 9 deletions(-) diff --git a/apps/shell/tmux/conf b/apps/shell/tmux/conf index 0bd6780..d5a2b6c 100644 --- a/apps/shell/tmux/conf +++ b/apps/shell/tmux/conf @@ -84,7 +84,7 @@ set -g base-index 1 set -g pane-base-index 1 # custom predefined layouts -bind M-l source-file ~/.tmux/layouts/dev.tmux +bind M-l source-file $XDG_CONFIG_HOME/tmux/layouts/dev.tmux # present a menu of urls to open from the visible pane # TODO: fzf-ify this diff --git a/bin/lib/arch-linux/provisioning/tmux-plugins.bash b/bin/lib/arch-linux/provisioning/tmux-plugins.bash index 6a26cd7..3babdf3 100755 --- a/bin/lib/arch-linux/provisioning/tmux-plugins.bash +++ b/bin/lib/arch-linux/provisioning/tmux-plugins.bash @@ -3,15 +3,15 @@ mkdir -p "$HOME/.config/systemd/user" # tmux plugin manager -git clone https://github.com/tmux-plugins/tpm "$HOME/.tmux/plugins/tpm" +git clone https://github.com/tmux-plugins/tpm "$XDG_CONFIG_HOME/tmux/plugins/tpm" # load tmux config tmux source-file "$HOME/.tmux.conf" # clean, install, and update plugins -bash "$HOME/.tmux/plugins/tpm/bindings/clean_plugins" -bash "$HOME/.tmux/plugins/tpm/bindings/install_plugins" -bash "$HOME/.tmux/plugins/tpm/bindings/update_plugins" +bash "$XDG_CONFIG_HOME/tmux/plugins/tpm/bindings/clean_plugins" +bash "$XDG_CONFIG_HOME/tmux/plugins/tpm/bindings/install_plugins" +bash "$XDG_CONFIG_HOME/tmux/plugins/tpm/bindings/update_plugins" # load tmux config tmux source-file "$HOME/.tmux.conf" diff --git a/bin/lib/debian/provisioning/install-tmux-plugins.bash b/bin/lib/debian/provisioning/install-tmux-plugins.bash index 5db417f..3babdf3 100755 --- a/bin/lib/debian/provisioning/install-tmux-plugins.bash +++ b/bin/lib/debian/provisioning/install-tmux-plugins.bash @@ -3,15 +3,15 @@ mkdir -p "$HOME/.config/systemd/user" # tmux plugin manager -git clone https://github.com/tmux-plugins/tpm "$XDG_CONFIG_HOME/.tmux/plugins/tpm" +git clone https://github.com/tmux-plugins/tpm "$XDG_CONFIG_HOME/tmux/plugins/tpm" # load tmux config tmux source-file "$HOME/.tmux.conf" # clean, install, and update plugins -bash "$XDG_CONFIG_HOME/.tmux/plugins/tpm/bindings/clean_plugins" -bash "$XDG_CONFIG_HOME/.tmux/plugins/tpm/bindings/install_plugins" -bash "$XDG_CONFIG_HOME/.tmux/plugins/tpm/bindings/update_plugins" +bash "$XDG_CONFIG_HOME/tmux/plugins/tpm/bindings/clean_plugins" +bash "$XDG_CONFIG_HOME/tmux/plugins/tpm/bindings/install_plugins" +bash "$XDG_CONFIG_HOME/tmux/plugins/tpm/bindings/update_plugins" # load tmux config tmux source-file "$HOME/.tmux.conf"