Skip to content

Commit

Permalink
infra: remote 스크립트 변경
Browse files Browse the repository at this point in the history
  • Loading branch information
chansooo committed Jun 2, 2024
1 parent c03da1f commit edce4e6
Showing 1 changed file with 3 additions and 9 deletions.
12 changes: 3 additions & 9 deletions Scripts/onboarding.sh
Original file line number Diff line number Diff line change
@@ -1,13 +1,7 @@
if ! command -v brew &> /dev/null; then
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
fi


if ! command -v mise &> /dev/null; then
echo "\n[7] > Installing mise ...\n"
curl https://mise.run | sh
fi

curl https://mise.run | sh
echo 'eval "$(~/.local/bin/mise activate zsh)"' >> ~/.zshrc
echo 'export PATH="$HOME/.local/share/mise/shims:$PATH"' >> ~/.zprofile
# if ! grep -q 'eval "$(~/.local/bin/mise activate zsh)"' ~/.zshrc; then
# echo 'eval "$(~/.local/bin/mise activate zsh)"' >> ~/.zshrc
# fi
Expand Down

0 comments on commit edce4e6

Please sign in to comment.