Update 1 file: bootstrap.sh
This commit is contained in:
+3
-1
@@ -21,7 +21,7 @@ arch() {
|
||||
|
||||
check_all() {
|
||||
local missing=()
|
||||
for cmd in git curl jq fzf starship eza bat delta fastfetch dotstate; do
|
||||
for cmd in zsh git curl jq fzf starship eza bat delta fastfetch dotstate; do
|
||||
command -v "$cmd" &>/dev/null || missing+=("$cmd")
|
||||
done
|
||||
echo "${missing[@]}"
|
||||
@@ -112,6 +112,7 @@ install_missing() {
|
||||
[bat]="bat"
|
||||
[delta]="git-delta"
|
||||
[fastfetch]="fastfetch"
|
||||
[zsh]="zsh"
|
||||
)
|
||||
|
||||
local sys_pkgs=()
|
||||
@@ -158,6 +159,7 @@ update_repo() {
|
||||
info "Repository not found. Cloning..."
|
||||
git clone --depth=1 "$REPO_URL" "$TARGET_DIR" &>/dev/null
|
||||
fi
|
||||
update
|
||||
}
|
||||
|
||||
# --- Main ---
|
||||
|
||||
Reference in New Issue
Block a user