Rename _bash-it_update to _bash-it-update

pull/1689/head
Noah Gorny 2020-10-25 15:24:19 +02:00
parent c7d67aedb9
commit 825fc88a8f
1 changed files with 6 additions and 6 deletions

View File

@ -91,7 +91,7 @@ bash-it ()
_bash-it-search $component "$@" _bash-it-search $component "$@"
return;; return;;
update) update)
func=_bash-it_update-$component;; func=_bash-it-update-$component;;
migrate) migrate)
func=_bash-it-migrate;; func=_bash-it-migrate;;
version) version)
@ -169,18 +169,18 @@ _bash-it-plugins ()
_bash-it-describe "plugins" "a" "plugin" "Plugin" _bash-it-describe "plugins" "a" "plugin" "Plugin"
} }
_bash-it_update-dev() { _bash-it-update-dev() {
_about 'updates Bash-it to the latest master' _about 'updates Bash-it to the latest master'
_group 'lib' _group 'lib'
_bash-it_update- dev "$@" _bash-it-update- dev "$@"
} }
_bash-it_update-stable() { _bash-it-update-stable() {
_about 'updates Bash-it to the latest tag' _about 'updates Bash-it to the latest tag'
_group 'lib' _group 'lib'
_bash-it_update- stable "$@" _bash-it-update- stable "$@"
} }
_bash-it_pull_and_update_inner() { _bash-it_pull_and_update_inner() {
@ -198,7 +198,7 @@ _bash-it_pull_and_update_inner() {
fi fi
} }
_bash-it_update-() { _bash-it-update-() {
_about 'updates Bash-it' _about 'updates Bash-it'
_param '1: What kind of update to do (stable|dev)' _param '1: What kind of update to do (stable|dev)'
_group 'lib' _group 'lib'