Compare commits

...

2 Commits

Author SHA1 Message Date
6bf38df599 Update dotfiles/ps1/ps1.sh
All checks were successful
ShellCheck / shellcheck (push) Successful in 45s
runner test
2026-01-25 16:18:03 +00:00
727f3f86d4 Update state metadata 2026-01-25 02:26:16 +00:00
2 changed files with 9 additions and 2 deletions

View File

@@ -27,6 +27,9 @@
"global_installer_wrapper": "dotfiles/install/install-global-ps1.sh",
"readme": "README.md",
"library": "library.md",
"cron_note": ".cron",
"github_workflow": ".github/workflows/shellcheck.yml",
"gitea_workflow": ".gitea/workflows/shellcheck.yml",
"palette_image": "images/bash-pallete.png",
"theme_images_dir": "images/themes",
"theme_images": {
@@ -537,6 +540,10 @@
"Git capsule prefers __git_ps1 and falls back to git symbolic-ref/short hash when git-prompt is unavailable or returns empty.",
"Hawolex git capsule enables when PS1_GIT resolves to a truthy value (1/yes/true/on).",
"Custom pack adds bold styles (radar, synthwave, noir, topo, glitch, arcticfire, acidlime).",
"Library includes emoji usage blocks per theme (sets, fixed times, time slots, rotation)."
"Library includes emoji usage blocks per theme (sets, fixed times, time slots, rotation).",
"Gitea Actions enabled in app.ini with [actions] ENABLED=true.",
"ShellCheck workflows exist for both GitHub and Gitea (.github/workflows and .gitea/workflows).",
"Self-hosted runner uses label ubuntu-latest and runs in Docker.",
"Host has daily Docker prune cron at 04:00 with 24h retention (see .cron)."
]
}

View File

@@ -1,6 +1,6 @@
#!/usr/bin/env bash
# PS1 module with Nerd Font fallback + disable switch
# Designed for bash 3.2+ (macOS) and bash 4/5 (Linux)
# Designed for bash 3.2+ (macOS) and bash 4/5 (Linux)
# Load this in interactive shells.
case "$-" in