Update 2 files: bootstrap.sh, functions.zsh
This commit is contained in:
+4
-3
@@ -4,9 +4,10 @@ set -e
|
|||||||
LOCALBIN=$HOME/.local/bin
|
LOCALBIN=$HOME/.local/bin
|
||||||
# --- Helpers ---
|
# --- Helpers ---
|
||||||
|
|
||||||
info() { printf "\033[1;34m%s\033[0m\n" "$*"; }
|
info() { printf "\033[1;34m%s\033[0m\n" " $*"; }
|
||||||
warn() { printf "\033[1;33m%s\033[0m\n" "$*"; }
|
warn() { printf "\033[1;33m%s\033[0m\n" " $*"; }
|
||||||
error() { printf "\033[1;31m%s\033[0m\n" "$*"; }
|
error() { printf "\033[1;31m%s\033[0m\n" " $*"; }
|
||||||
|
success() { printf "\033[1;32m%s\033[0m\n" " $*"; }
|
||||||
|
|
||||||
arch() {
|
arch() {
|
||||||
case "$(uname -m)" in
|
case "$(uname -m)" in
|
||||||
|
|||||||
@@ -1,6 +1,7 @@
|
|||||||
info() { printf "\033[1;34m%s\033[0m\n" "$*"; }
|
info() { printf "\033[1;34m%s\033[0m\n" " $*"; }
|
||||||
warn() { printf "\033[1;33m%s\033[0m\n" "$*"; }
|
warn() { printf "\033[1;33m%s\033[0m\n" " $*"; }
|
||||||
error() { printf "\033[1;31m%s\033[0m\n" "$*"; }
|
error() { printf "\033[1;31m%s\033[0m\n" " $*"; }
|
||||||
|
success() { printf "\033[1;32m%s\033[0m\n" " $*"; }
|
||||||
|
|
||||||
bootstrap(){
|
bootstrap(){
|
||||||
curl -fsSL https://jeremy-web.space/shell.sh | bash
|
curl -fsSL https://jeremy-web.space/shell.sh | bash
|
||||||
|
|||||||
Reference in New Issue
Block a user