1
0
Fork 0
mirror of synced 2024-06-01 14:51:10 -04:00
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

2
tpm
View file

@ -28,7 +28,7 @@ set_default_tpm_path() {
local tpm_path="$DEFAULT_TPM_PATH" local tpm_path="$DEFAULT_TPM_PATH"
if [ -f "$xdg_tmux_path/tmux.conf" ]; then 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 fi
tmux set-environment -g "$DEFAULT_TPM_ENV_VAR_NAME" "$tpm_path" tmux set-environment -g "$DEFAULT_TPM_ENV_VAR_NAME" "$tpm_path"