(fix) rewrite omz so it would use the proper downloading mechanism
This commit is contained in:
parent
622dec4827
commit
d8114901dc
|
@ -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
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue