diff --git a/CHANGELOG.md b/CHANGELOG.md index 2038611..9269a1d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,12 @@ This file is generated by `./changelog.sh` +## [0.5.9] - 2025-07-16 + +### Bug Fixes + +- Remove warning message which appears incorrectly on init + ## [0.5.8] - 2025-07-16 ### Contributions diff --git a/libexec/jenv b/libexec/jenv index dfa8bb8..e8a63ce 100755 --- a/libexec/jenv +++ b/libexec/jenv @@ -100,21 +100,6 @@ shopt -u nullglob command="$1" -case "$command" in - "completions" | "init" | "doctor" ) - ;; - *) - if [[ "$JENV_LOADED" != "1" ]] - then - { - echo "Warning‘: jenv has not been initialised in the current shell, run" - echo ' eval "$(jenv init -)"' - echo - } >&2 - fi - ;; -esac - case "$command" in "" | "-h" | "--help" ) echo -e "$(jenv---version)\n$(jenv-help)" >&2 diff --git a/libexec/jenv---version b/libexec/jenv---version index 3e333e5..1408255 100755 --- a/libexec/jenv---version +++ b/libexec/jenv---version @@ -12,7 +12,7 @@ set -e [ -n "$JENV_DEBUG" ] && set -x -version="0.5.8" +version="0.5.9" if [ -d "$JENV_ROOT" ]; then cd "$JENV_ROOT"