diff --git a/src/rye/devcontainer-feature.json b/src/rye/devcontainer-feature.json index c9c8ad9..54e470e 100644 --- a/src/rye/devcontainer-feature.json +++ b/src/rye/devcontainer-feature.json @@ -1,6 +1,6 @@ { "name": "Rye", - "version": "1.1.1", + "version": "1.1.2", "id": "rye", "description": "A Hassle-Free Python Experience", "installsAfter": [ diff --git a/src/rye/install.sh b/src/rye/install.sh index 6ed6e1d..f0f273c 100644 --- a/src/rye/install.sh +++ b/src/rye/install.sh @@ -8,8 +8,11 @@ echo "Activating feature 'rye'" # https://rye.astral.sh/guide/installation/#customized-installation curl -sSf https://rye.astral.sh/get | RYE_INSTALL_OPTION="--yes" bash -if [ "$BASHCOMPLETION" == "true" ]; then +if [ "$BASHCOMPLETION" = "true" ]; then echo "Activating bash completion for 'rye'" # https://rye.astral.sh/guide/installation/#shell-completion rye self completion > /etc/bash_completion.d/rye +else + echo "Skipping setting up bash completion for 'rye'" + echo "The value of BASHCOMPLETION is: $BASHCOMPLETION" fi