Skip to content

refactor: fix icon registry, installer bugs, and versioning; disable … - #1

Merged
fr3on merged 1 commit into
mainfrom
fix/icon-consistency-and-installer-hardening
Jul 12, 2026
Merged

fr3on merged 1 commit into
mainfrom
fix/icon-consistency-and-installer-hardening

Conversation

@fr3on

@fr3on fr3on commented Jul 12, 2026

Copy link
Copy Markdown
Owner

…exec time by default

  • Route plugin icons through the shared AP_ICONS registry. All first-party plugins referenced nonexistent AP_ICO* shortcut vars or hardcoded nerd-font glyphs, so they never respected the ASCII/Unicode/Font Awesome/Nerd Font tier switching the core segments already honored. Added the missing icon keys (CPANEL, GH, TARGET, VPN_ON/OFF, TAILSCALE, CPU, RAM) to all four tiers, and replaced 12 icons that were pulled from Material Design Icons (a visibly larger/bolder glyph set) with same-family Font Awesome/Devicons equivalents for consistent sizing.

  • Consolidate the git segment into a single git status --porcelain=v2 --branch call, replacing the rev-parse + symbolic-ref + status + rev-list combo (4-5 forks per prompt refresh).

  • Fix icon-tier and installer quoting bugs:

    • AP_USE_NERD_FONT/AP_ASCII_FALLBACK had no default, so fresh installs silently fell back to the Unicode tier instead of Nerd Font.
    • install.sh wrote " (literal backslash-quote) into ~/.zshrc's HISTFILE line and into the bash->zsh bridge condition in ~/.bashrc, permanently breaking the bridge's -z check.
    • The bridge only patched ~/.bashrc; added the same bridge to ~/.profile since fresh login shells often don't chain into .bashrc.
  • Introduce a single-source-of-truth VERSION file. Add scripts/bump-version.sh to sync APORIA_VERSION across aporia.zsh-theme and install.sh, plus CI/release checks that fail if any copy drifts from the tagged version. aporia upgrade now reports the actual before/after version instead of upgrading silently.

  • Disable the exec-time segment by default (AP_SHOW_EXEC_TIME=0).

…exec time by default

- Route plugin icons through the shared AP_ICONS registry. All first-party
  plugins referenced nonexistent _AP_ICO_* shortcut vars or hardcoded
  nerd-font glyphs, so they never respected the ASCII/Unicode/Font
  Awesome/Nerd Font tier switching the core segments already honored.
  Added the missing icon keys (CPANEL, GH, TARGET, VPN_ON/OFF, TAILSCALE,
  CPU, RAM) to all four tiers, and replaced 12 icons that were pulled from
  Material Design Icons (a visibly larger/bolder glyph set) with
  same-family Font Awesome/Devicons equivalents for consistent sizing.

- Consolidate the git segment into a single `git status --porcelain=v2
  --branch` call, replacing the rev-parse + symbolic-ref + status +
  rev-list combo (4-5 forks per prompt refresh).

- Fix icon-tier and installer quoting bugs:
  - AP_USE_NERD_FONT/AP_ASCII_FALLBACK had no default, so fresh installs
    silently fell back to the Unicode tier instead of Nerd Font.
  - install.sh wrote \" (literal backslash-quote) into ~/.zshrc's
    HISTFILE line and into the bash->zsh bridge condition in ~/.bashrc,
    permanently breaking the bridge's -z check.
  - The bridge only patched ~/.bashrc; added the same bridge to
    ~/.profile since fresh login shells often don't chain into .bashrc.

- Introduce a single-source-of-truth VERSION file. Add
  scripts/bump-version.sh to sync APORIA_VERSION across aporia.zsh-theme
  and install.sh, plus CI/release checks that fail if any copy drifts
  from the tagged version. `aporia upgrade` now reports the actual
  before/after version instead of upgrading silently.

- Disable the exec-time segment by default (AP_SHOW_EXEC_TIME=0).
@fr3on
fr3on merged commit 3cc3de6 into main Jul 12, 2026
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant