Skip to content

Commit

Permalink
Reflect $PATH to other steps (#5)
Browse files Browse the repository at this point in the history
  • Loading branch information
ainame authored Dec 7, 2021
1 parent 4001e8b commit 843cb21
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions step.sh
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,7 @@ function setup_rbenv {

wget -q "https://github.com/rbenv/rbenv-installer/raw/HEAD/bin/rbenv-doctor" -O- | bash

# Store rbenv init settings for other steps
~/.rbenv/bin/rbenv init bash 2>> ~/.bashrc || echo "Set up ~/.bashrc for rbenv"
~/.rbenv/bin/rbenv init zsh 2>> ~/.zshrc || echo "Set up ~/.zshrc for rbenv"
envman add --key PATH --value $"PATH"
;;
*)
echo "ERROR: Unknown platform found ${platform}"
Expand Down

0 comments on commit 843cb21

Please sign in to comment.