mirror of
https://github.com/tmux-plugins/tpm.git
synced 2026-11-02 00:20:30 +00:00
update_plugin script
This commit is contained in:
1 parent
3a5f56f10d
commit
3af756d836
4 files changed
+99
-34
No files matched your search
@@ -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