{"version":"1.0","type":"rich","title":"Script to select random oh-my-posh theme on shell init","description":"A shell script selects a random oh-my-posh theme on every shell init, producing a varied prompt appearance. It builds a list of theme file paths by scanning the `POSH_THEME_DIR` directory (derived from `brew --prefix oh-my-posh`), then uses Bash's `$RANDOM` to pick one index. The chosen theme path is echoed and passed to `oh-my-posh --init --shell zsh --config`, which loads it into the Zsh session. The script relies on standard Bash array handling, command substitution, and a `while read` loop over `find` output, with no external visualization libraries.","provider_name":"VizHub AI Studio","provider_url":"https://next.vizhub.com","html":"<iframe src=\"https://next.vizhub.com/viz/gist-376c7e78662c89e222dc59b0d757bfdb?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"1\"></iframe>","width":960,"height":500,"cache_age":3600}