Skip to content

Commit

Permalink
Merge pull request #4 from stateful/fixcompletion
Browse files Browse the repository at this point in the history
remove the interactive bash within the sh script
  • Loading branch information
edeediong authored Oct 23, 2023
2 parents 6f1d63e + c450cba commit 16b8e4c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/runme/install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@ $nanolayer_location \
"ghcr.io/devcontainers-contrib/features/npm-package:1.0.3" \
--option package='runme'

# Need a new shell to pick up NVM paths
bash -i << EOF
# check if compleetion is true

if [ "$COMPLETIONS" = "true" ]; then
# Check if the current shell is Bash
if [ "$(basename $SHELL)" = "bash" ]; then
Expand Down Expand Up @@ -68,6 +68,6 @@ if [ "$COMPLETIONS" = "true" ]; then
fi

fi
EOF


echo 'Done!'

0 comments on commit 16b8e4c

Please sign in to comment.