add_to_zshrc() {
local line_to_add="$1"
if ! grep -q "$line_to_add" ~/.zshrc; then
echo -e "\n$line_to_add" >> ~/.zshrc
fi
}
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
curl -LsSf https://astral.sh/uv/install.sh | shadd_to_zshrc() {
local line_to_add="$1"
if ! grep -q "$line_to_add" ~/.zshrc; then
echo -e "\n$line_to_add" >> ~/.zshrc
fi
}
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
curl -LsSf https://astral.sh/uv/install.sh | sh