tmux: Use $XDG_CONFIG_HOME instead of hardcoding
This commit is contained in:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user