Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion tpm
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ set_default_tpm_path() {
local tpm_path="$DEFAULT_TPM_PATH"

if [ -f "$xdg_tmux_path/tmux.conf" ]; then
tpm_path="$xdg_tmux_path/plugins/"
tpm_path="${XDG_DATA_HOME:-$HOME/.local/share}/tmux/plugins/"
fi

tmux set-environment -g "$DEFAULT_TPM_ENV_VAR_NAME" "$tpm_path"
Expand Down