Browse Source

Merge branch 'jenv:master' into master

pull/452/head
Bruno 5 months ago committed by GitHub
parent
commit
7a28cb5d4b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  1. 6
      CHANGELOG.md
  2. 15
      libexec/jenv
  3. 2
      libexec/jenv---version

6
CHANGELOG.md

@ -2,6 +2,12 @@
This file is generated by `./changelog.sh` 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 ## [0.5.8] - 2025-07-16
### Contributions ### Contributions

15
libexec/jenv

@ -100,21 +100,6 @@ shopt -u nullglob
command="$1" 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 case "$command" in
"" | "-h" | "--help" ) "" | "-h" | "--help" )
echo -e "$(jenv---version)\n$(jenv-help)" >&2 echo -e "$(jenv---version)\n$(jenv-help)" >&2

2
libexec/jenv---version

@ -12,7 +12,7 @@
set -e set -e
[ -n "$JENV_DEBUG" ] && set -x [ -n "$JENV_DEBUG" ] && set -x
version="0.5.8" version="0.5.9"
if [ -d "$JENV_ROOT" ]; then if [ -d "$JENV_ROOT" ]; then
cd "$JENV_ROOT" cd "$JENV_ROOT"

Loading…
Cancel
Save