Small refactor
This commit is contained in:
parent
cf9bd36d15
commit
5bd15b32f3
1 changed files with 1 additions and 5 deletions
|
@ -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 a new issue