Skip to content

v1.3.9 — Smart DevOps Safety, Modern Terminal Superpowers & SSH/WezTerm/Starship Ecosystem

Choose a tag to compare

@mvsoares mvsoares released this 23 Nov 19:46
· 2 commits to main since this release

Highlights in v1.3.9

1. Smart DevOps Safety & Dynamic Context Colors

  • Kubernetes Namespace + 🚨 Production Warning (kube_namespace_prod): Pure-Bash $KUBECONFIG parser extracts both current-context and active namespace (☸ prod-cluster (payments)) and automatically highlights production contexts/namespaces (--kube-prod-pattern) in vibrant red with 🚨.
  • Dynamic Git Segment Colors (--git-dynamic-color): Automatically colors GIT amber when dirty and red during REBASE/MERGE/CHERRY/BISECT with seamless Powerline separator matching.
  • Deterministic SSH Hostname Colors (--ssh-host-color): Hashes $HOSTNAME into a readable 256-color palette over SSH, with automatic red (prod) and amber (stg/uat/qa) rules.
  • New Segments (SUDO, JJ, CUSTOM) — 24 Total Segments: Cached sudo credential badge, zero-fork Jujutsu (.jj) VCS detection, and user-defined CUSTOM badge (--custom-badge / $SYNTH_CUSTOM_BADGE).

2. Modern Terminal Superpowers

  • OSC 7 CWD Reporting (--osc7, default on): Pure-Bash URL-encoded OSC 7 so WezTerm, Ghostty, Kitty, and Windows Terminal open new tabs & splits in the active directory.
  • Native Long-Command Desktop Notifications (--notify-sec): Emits OSC 9 / OSC 99 desktop notifications when slow builds or deploys finish.
  • OS Dark/Light Auto-Theme (--auto-theme): Detects GNOME/KDE, macOS defaults, and Windows Registry color scheme automatically.
  • Fish-Style Path Abbreviation (--pwd-style fish): Pure-Bash ~/p/synth-shell-theme shortening.
  • Includes all v1.3.0–v1.3.3 improvements: Right-aligned top bar (RPROMPT), OSC 133 semantic markers (BEL \a terminated), automatic SSH/TUI mouse-tracking sanitizer (terminal_sanitize), full macOS Bash 3.2 compatibility, drag-and-drop Web Studio, inline color editing, doctor --fix, and static GitHub Pages demo.

3. Ecosystem, Portability & 1-Command SSH Deploy

  • 1-Command Remote SSH Deploy (synth-shell-theme ssh-install user@host): Installs your patched synth-shell-prompt.sh + config over a single SSH stream with zero Python or Git required remotely.
  • WezTerm + Starship Integration: --sync-ecosystem now generates wezterm-theme.lua alongside theme-env.sh (FZF_DEFAULT_OPTS + LS_COLORS) and tmux-theme.conf; export-starship exports any theme + dual separators to starship.toml.

Credits & Inspiration

Inspired by andresgongora/synth-shell, community requests from GitHub Issues, Reddit (r/commandline, r/unixporn, r/bash, r/devops), StackOverflow, Starship, Powerlevel10k, Oh My Posh, Fish, Jujutsu, Pywal, Base16, and modern OSC 7/9/99/133 terminal specifications.

Upgrade / Install

pipx install synth-shell-theme --force
synth-shell-theme init --no-tune