From 9124e5222159a52254e5a08354d676a7a4745009 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Wed, 27 May 2026 08:30:48 +0000 Subject: [PATCH 1/2] Initial plan From a8d4e6c442a28ce9962b8678db1b6faabb8cb13c Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Wed, 27 May 2026 08:33:17 +0000 Subject: [PATCH 2/2] fix: resolve shellcheck warnings in install script --- install.sh | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/install.sh b/install.sh index 2b006b6..292829a 100755 --- a/install.sh +++ b/install.sh @@ -43,22 +43,23 @@ install_fonts(){ local dest="$HOME/.local/share/fonts" mkdir -p "$dest" # Detect existing Meslo Nerd Font via glob - ( + if ( shopt -s nullglob nocaseglob 2>/dev/null || true local meslo_candidates=("$dest"/*Meslo*"Nerd Font"*.ttf) if (( ${#meslo_candidates[@]} > 0 )); then log "Meslo Nerd Font already present" exit 0 fi - ) - if [[ $? -eq 0 ]]; then + ); then return 0 fi local tmp_zip tmp_zip="$(mktemp)" if curl -fsSL -o "$tmp_zip" https://github.com/ryanoasis/nerd-fonts/releases/latest/download/Meslo.zip; then unzip -oq "$tmp_zip" -d "$dest" - command -v fc-cache >/dev/null && fc-cache -f >/dev/null 2>&1 || true + if command -v fc-cache >/dev/null 2>&1; then + fc-cache -f >/dev/null 2>&1 || true + fi log "Fonts installed" else warn "Font download failed; skipping"