This commit is contained in:
wzy 2023-10-07 16:05:12 +08:00 committed by GitHub
commit 7efbc64287
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

2
tpm
View File

@ -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"