Skip to content

Instantly share code, notes, and snippets.

@Artheg
Artheg / update_zig.sh
Last active June 10, 2023 10:41
Update zig
#!/bin/sh
ZIG_INSTALL_DIR=$HOME/.zig
printf "This will remove $ZIG_INSTALL_DIR. Continue? (y/n)"
read answer
if [ "$answer" != "${answer#[Yy]}" ] ;then
echo "Updating zig..."
else
exit