mirror of
https://github.com/tmux-plugins/tpm.git
synced 2025-09-06 01:36:59 +00:00
Switching to tab indentation
This commit is contained in:
@ -3,20 +3,20 @@
|
||||
default_tpm_path="$HOME/.tmux/plugins/"
|
||||
|
||||
tpm_path_set() {
|
||||
tmux show-environment -g TMUX_PLUGIN_MANAGER_PATH
|
||||
tmux show-environment -g TMUX_PLUGIN_MANAGER_PATH
|
||||
}
|
||||
|
||||
set_default_tpm_path() {
|
||||
tmux set-environment -g TMUX_PLUGIN_MANAGER_PATH "$default_tpm_path"
|
||||
tmux set-environment -g TMUX_PLUGIN_MANAGER_PATH "$default_tpm_path"
|
||||
}
|
||||
|
||||
ensure_tpm_path() {
|
||||
if ! tpm_path_set; then
|
||||
set_default_tpm_path
|
||||
fi
|
||||
if ! tpm_path_set; then
|
||||
set_default_tpm_path
|
||||
fi
|
||||
}
|
||||
|
||||
main() {
|
||||
ensure_tpm_path
|
||||
ensure_tpm_path
|
||||
}
|
||||
main
|
||||
|
Reference in New Issue
Block a user