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

pull/1626/head
Noah Gorny 2020-07-17 18:00:31 +03:00
parent 8e6876719b
commit 9b208e7d5c
1 changed files with 5 additions and 1 deletions

View File

@ -238,9 +238,13 @@ _bash-it_update-() {
echo -e "\033[91mPlease choose y or n.\033[m"
;;
esac
else
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
}