lib: Update no-op message in case of stable update

pull/1578/head
Noah Gorny 2020-07-17 18:00:31 +03:00 committed by phreakocious
parent 30bef3d3de
commit 12783c2a79
1 changed files with 5 additions and 1 deletions

View File

@ -242,7 +242,11 @@ _bash-it_update-() {
;;
esac
else
echo "Bash-it is up to date, nothing to do!"
if [[ ${version} == "stable" ]]; then
echo "You're on the latest stable version. If you want to check out the latest 'dev' version, please run \"bash-it update dev\""
else
echo "Bash-it is up to date, nothing to do!"
fi
fi
cd "${old_pwd}" &> /dev/null || return
}