Compare commits
3 Commits
622dec4827
...
caaf940f0c
Author | SHA1 | Date |
---|---|---|
b1ek | caaf940f0c | |
b1ek | f497614854 | |
b1ek | d8114901dc |
|
@ -26,6 +26,7 @@ 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,6 +8,7 @@
|
||||||
# settings
|
# settings
|
||||||
set -e
|
set -e
|
||||||
start_time=$(date +%s)
|
start_time=$(date +%s)
|
||||||
|
version=1.1
|
||||||
|
|
||||||
# functions
|
# functions
|
||||||
errcho() {
|
errcho() {
|
||||||
|
@ -131,6 +132,12 @@ 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;;
|
||||||
|
|
|
@ -0,0 +1,22 @@
|
||||||
|
#!/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,6 +2,10 @@
|
||||||
# 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
|
||||||
}
|
}
|
||||||
|
@ -11,5 +15,5 @@ pkgs() {
|
||||||
}
|
}
|
||||||
|
|
||||||
install() {
|
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