2022-07-05 02:50:35 +00:00
|
|
|
#!/bin/bash
|
2022-08-19 12:58:15 +00:00
|
|
|
##makedesc: Install omz (latest)
|
2022-07-05 02:50:35 +00:00
|
|
|
|
|
|
|
echo
|
|
|
|
echo "==============================================="
|
2022-08-19 12:58:15 +00:00
|
|
|
echo "Installing omz (latest)..."
|
2022-07-05 02:50:35 +00:00
|
|
|
echo "==============================================="
|
|
|
|
echo
|
|
|
|
|
|
|
|
installed() {
|
|
|
|
command -v "$1" >/dev/null 2>&1
|
|
|
|
}
|
|
|
|
|
|
|
|
if ! installed zsh || ! installed git || ! installed curl; then
|
|
|
|
echo "ERROR: you need git, zsh and curl to be installed!"
|
|
|
|
exit 1
|
|
|
|
fi
|
|
|
|
|
|
|
|
sh -c "$(curl -fsSL https://raw.github.com/robbyrussell/oh-my-zsh/master/tools/install.sh)"
|