Skip to content

Commit

Permalink
Merge pull request #1689 from NoahGorny/rename-bash-it-update-internal
Browse files Browse the repository at this point in the history
Rename _bash-it_update to _bash-it-update
  • Loading branch information
Noah Gorny authored Oct 25, 2020
2 parents c7d67ae + 825fc88 commit 40d154c
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions lib/helpers.bash
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ bash-it ()
_bash-it-search $component "$@"
return;;
update)
func=_bash-it_update-$component;;
func=_bash-it-update-$component;;
migrate)
func=_bash-it-migrate;;
version)
Expand Down Expand Up @@ -169,18 +169,18 @@ _bash-it-plugins ()
_bash-it-describe "plugins" "a" "plugin" "Plugin"
}

_bash-it_update-dev() {
_bash-it-update-dev() {
_about 'updates Bash-it to the latest master'
_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'
_group 'lib'

_bash-it_update- stable "$@"
_bash-it-update- stable "$@"
}

_bash-it_pull_and_update_inner() {
Expand All @@ -198,7 +198,7 @@ _bash-it_pull_and_update_inner() {
fi
}

_bash-it_update-() {
_bash-it-update-() {
_about 'updates Bash-it'
_param '1: What kind of update to do (stable|dev)'
_group 'lib'
Expand Down

0 comments on commit 40d154c

Please sign in to comment.