Merge pull request #1218 from nwinkler/fix-update-reload

Fix update reload
pull/1221/head
Nils Winkler 2018-07-19 09:10:17 +02:00 committed by GitHub
commit e4df64b97d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 25 additions and 25 deletions

View File

@ -61,7 +61,7 @@ function reload_plugins() {
bash-it ()
{
about 'Bash-it help and maintenance'
param '1: verb [one of: help | show | enable | disable | migrate | update | search | version | reload ] '
param '1: verb [one of: help | show | enable | disable | migrate | update | search | version | reload ] '
param '2: component type [one of: alias(es) | completion(s) | plugin(s) ] or search term(s)'
param '3: specific component [optional]'
example '$ bash-it show plugins'
@ -187,7 +187,7 @@ _bash-it_update() {
_bash-it-migrate
echo ""
echo "All done, enjoy!"
reload
bash-it reload
else
echo "Error updating Bash-it, please, check if your Bash-it installation folder (${BASH_IT}) is clean."
fi