Skip to content

Commit

Permalink
feat: reload shell before running starkliup
Browse files Browse the repository at this point in the history
  • Loading branch information
EjembiEmmanuel committed Sep 29, 2024
1 parent 0548bc3 commit 1e77ac4
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions scripts/install_tools.sh
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,14 @@ install_starkli() {
else
echo "Installing Starkli..."
curl https://get.starkli.sh | sh

# Reload the shell to make starkliup available in the current session
if [ -f "$HOME/.bashrc" ]; then
source "$HOME/.bashrc"
elif [ -f "$HOME/.zshrc" ]; then
source "$HOME/.zshrc"
fi

starkliup
fi
}
Expand Down

0 comments on commit 1e77ac4

Please sign in to comment.