tmux: Use $XDG_CONFIG_HOME instead of hardcoding

This commit is contained in:
2022-05-01 14:22:18 +02:00
parent b316bf6683
commit a3ec1a7a35

View File

@@ -65,7 +65,7 @@ bind -n M-S-Down resize-pane -U
bind -n M-S-Right resize-pane -R bind -n M-S-Right resize-pane -R
# Change installation location of plugins # 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 ## Plugins
set -g @plugin 'tmux-plugins/tmux-continuum' 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" set -g window-status-format "#[fg=brightblack]#I #W"
# Initialize TMUX plugin manager (keep this line at the very bottom of tmux.conf) # 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"