mirror of
https://github.com/tmux-plugins/tpm.git
synced 2024-12-04 18:58:49 +00:00
Small refactor
This commit is contained in:
parent
cf9bd36d15
commit
5bd15b32f3
@ -10,13 +10,9 @@ set_default_tpm_path() {
|
||||
tmux set-environment -g TMUX_PLUGIN_MANAGER_PATH "$default_tpm_path"
|
||||
}
|
||||
|
||||
ensure_tpm_path() {
|
||||
main() {
|
||||
if ! tpm_path_set; then
|
||||
set_default_tpm_path
|
||||
fi
|
||||
}
|
||||
|
||||
main() {
|
||||
ensure_tpm_path
|
||||
}
|
||||
main
|
||||
|
Loading…
Reference in New Issue
Block a user