Small refactor

This commit is contained in:
Bruno Sutic 2015-03-30 13:50:04 +02:00
parent cf9bd36d15
commit 5bd15b32f3
No known key found for this signature in database
GPG Key ID: 66D96E4F2F7EF26C

View File

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