mirror of
https://github.com/tmux-plugins/tpm.git
synced 2025-09-06 01:36:59 +00:00
update_plugin script
This commit is contained in:
@ -26,14 +26,6 @@ clone_plugin() {
|
||||
clone "https://github.com/$plugin"
|
||||
}
|
||||
|
||||
pull_changes() {
|
||||
local plugin=$1
|
||||
local plugin_path=$(shared_plugin_path "$plugin")
|
||||
cd $plugin_path &&
|
||||
git pull &&
|
||||
git submodule update --init --recursive
|
||||
}
|
||||
|
||||
# pull new changes or clone plugin
|
||||
install_plugin() {
|
||||
local plugin=$1
|
||||
|
Reference in New Issue
Block a user