From 9b208e7d5c1eab0378a408ab9e03b55a89ee06ed Mon Sep 17 00:00:00 2001 From: Noah Gorny Date: Fri, 17 Jul 2020 18:00:31 +0300 Subject: [PATCH] lib: Update no-op message in case of stable update --- lib/helpers.bash | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/lib/helpers.bash b/lib/helpers.bash index b163cfc8..e7265489 100644 --- a/lib/helpers.bash +++ b/lib/helpers.bash @@ -239,7 +239,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 }