(fix) rewrite omz so it would use the proper downloading mechanism

This commit is contained in:
b1ek 2024-02-14 12:00:18 +10:00
parent 622dec4827
commit d8114901dc
Signed by: blek
GPG Key ID: 14546221E3595D0C
1 changed files with 5 additions and 1 deletions

View File

@ -2,6 +2,10 @@
# omz brick (pacakge is GPL3 only, omz itself is MIT (as of jan 2024))
# made by alice
downloads=(
https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh
)
info() {
echo a nice shell framework
}
@ -11,5 +15,5 @@ pkgs() {
}
install() {
echo sh -c "\$(curl -fsSL https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)" | bash
echo sh -c "\$(cat ${downloads[0]})" | bash
}