From a3ec1a7a35836b65ff4f7039a224a4e02a1cf2ad Mon Sep 17 00:00:00 2001 From: Julian Prein Date: Sun, 1 May 2022 14:22:18 +0200 Subject: [PATCH] tmux: Use `$XDG_CONFIG_HOME` instead of hardcoding --- .config/tmux/tmux.conf | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.config/tmux/tmux.conf b/.config/tmux/tmux.conf index 8a5c79c..2e2368c 100644 --- a/.config/tmux/tmux.conf +++ b/.config/tmux/tmux.conf @@ -65,7 +65,7 @@ bind -n M-S-Down resize-pane -U bind -n M-S-Right resize-pane -R # Change installation location of plugins -set-environment -g TMUX_PLUGIN_MANAGER_PATH '~/.config/tmux/plugins/' +set-environment -g TMUX_PLUGIN_MANAGER_PATH "$XDG_CONFIG_HOME/tmux/plugins/" ## Plugins set -g @plugin 'tmux-plugins/tmux-continuum' @@ -114,4 +114,4 @@ set -g window-status-current-format "#[fg=brightyellow bold]#I #W" set -g window-status-format "#[fg=brightblack]#I #W" # Initialize TMUX plugin manager (keep this line at the very bottom of tmux.conf) -run -b '~/.config/tmux/plugins/tpm/tpm' +run -b "$XDG_CONFIG_HOME/tmux/plugins/tpm/tpm"