mirror of
https://github.com/tmux-plugins/tpm.git
synced 2025-09-05 17:26:58 +00:00
Fix bug: tpm shared path is created before sync
This commit is contained in:
@ -73,6 +73,10 @@ sync_plugins() {
|
||||
done
|
||||
}
|
||||
|
||||
ensure_tpm_path_exists() {
|
||||
mkdir -p $SHARED_TPM_PATH
|
||||
}
|
||||
|
||||
reload_tmux_environment() {
|
||||
tmux source-file ~/.tmux.conf >/dev/null 2>&1
|
||||
}
|
||||
@ -80,6 +84,7 @@ reload_tmux_environment() {
|
||||
main() {
|
||||
reload_tmux_environment
|
||||
shared_set_tpm_path_constant
|
||||
ensure_tpm_path_exists
|
||||
sync_plugins
|
||||
reload_tmux_environment
|
||||
end_message
|
||||
|
Reference in New Issue
Block a user