Skip to content

Commit 2a971f0

Browse files
author
Noah Gorny
committed
lib: Update no-op message in case of stable update
1 parent 986a728 commit 2a971f0

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

lib/helpers.bash

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -233,7 +233,11 @@ _bash-it_update-() {
233233
;;
234234
esac
235235
else
236-
echo "Bash-it is up to date, nothing to do!"
236+
if [[ ${version} == "stable" ]]; then
237+
echo "You're on the latest stable version. If you want to check out the latest 'dev' version, please run \"bash-it update dev\""
238+
else
239+
echo "Bash-it is up to date, nothing to do!"
240+
fi
237241
fi
238242
cd "${old_pwd}" &> /dev/null || return
239243
}

0 commit comments

Comments
 (0)