Compare commits
No commits in common. "caaf940f0cd99e65650108c4dc5c4382be17da02" and "622dec4827cdf40b3728e281d70117261f202b1e" have entirely different histories.
caaf940f0c
...
622dec4827
|
@ -26,7 +26,6 @@ to do this, run this:
|
||||||
ok so for now there arent a lot (probably wont be lmao) but theres the ones that are there:
|
ok so for now there arent a lot (probably wont be lmao) but theres the ones that are there:
|
||||||
1. `omz` - a cool shell framework
|
1. `omz` - a cool shell framework
|
||||||
2. `nvim` - like vim but better + has my "rice"
|
2. `nvim` - like vim but better + has my "rice"
|
||||||
3. `brick` - brick's brick to install brick on your system (hopefully it won't brick it)
|
|
||||||
|
|
||||||
to get the auto generated list of packages, run `./brick.sh -L`
|
to get the auto generated list of packages, run `./brick.sh -L`
|
||||||
|
|
||||||
|
|
7
brick.sh
7
brick.sh
|
@ -8,7 +8,6 @@
|
||||||
# settings
|
# settings
|
||||||
set -e
|
set -e
|
||||||
start_time=$(date +%s)
|
start_time=$(date +%s)
|
||||||
version=1.1
|
|
||||||
|
|
||||||
# functions
|
# functions
|
||||||
errcho() {
|
errcho() {
|
||||||
|
@ -132,12 +131,6 @@ while [[ $# -gt 0 ]]; do
|
||||||
inf 'done'
|
inf 'done'
|
||||||
exit 0
|
exit 0
|
||||||
;;
|
;;
|
||||||
-v|--version)
|
|
||||||
echo "brick $version (gpl 3 only)"
|
|
||||||
echo "made by alice with <3"
|
|
||||||
echo "https://git.blek.codes/blek/os"
|
|
||||||
exit 0
|
|
||||||
;;
|
|
||||||
-*)
|
-*)
|
||||||
# meh domt need unkonw args
|
# meh domt need unkonw args
|
||||||
shift;;
|
shift;;
|
||||||
|
|
|
@ -1,22 +0,0 @@
|
||||||
#!/bin/sh
|
|
||||||
# brick brick - a brick to install brick
|
|
||||||
# it installs brick.sh to ~/.local/bin/brick
|
|
||||||
# :3
|
|
||||||
|
|
||||||
downloads=(
|
|
||||||
https://git.blek.codes/blek/os/raw/branch/main/brick.sh
|
|
||||||
)
|
|
||||||
|
|
||||||
pkgs() {
|
|
||||||
echo bash curl
|
|
||||||
}
|
|
||||||
|
|
||||||
install() {
|
|
||||||
mkdir -p ~/.local/bin
|
|
||||||
cp ${downloads[0]} ~/.local/bin/brick
|
|
||||||
chmod +x ~/.local/bin/brick
|
|
||||||
}
|
|
||||||
|
|
||||||
uninstall() {
|
|
||||||
rm ~/.local/bin/brick
|
|
||||||
}
|
|
|
@ -2,10 +2,6 @@
|
||||||
# omz brick (pacakge is GPL3 only, omz itself is MIT (as of jan 2024))
|
# omz brick (pacakge is GPL3 only, omz itself is MIT (as of jan 2024))
|
||||||
# made by alice
|
# made by alice
|
||||||
|
|
||||||
downloads=(
|
|
||||||
https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh
|
|
||||||
)
|
|
||||||
|
|
||||||
info() {
|
info() {
|
||||||
echo a nice shell framework
|
echo a nice shell framework
|
||||||
}
|
}
|
||||||
|
@ -15,5 +11,5 @@ pkgs() {
|
||||||
}
|
}
|
||||||
|
|
||||||
install() {
|
install() {
|
||||||
echo sh -c "\$(cat ${downloads[0]})" | bash
|
echo sh -c "\$(curl -fsSL https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)" | bash
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue