Skip to content

Instantly share code, notes, and snippets.

View kungfusheep's full-sized avatar

Pete Griffiths kungfusheep

View GitHub Profile
@kungfusheep
kungfusheep / ps1.zsh
Created March 9, 2026 17:29
zero-fork ps1 prompt with git branch + worktree support
# fast-prompt: zero-fork zsh prompt with git branch + worktree support
#
# shows: repo/subdir:branch (git) or full path (non-git)
# style: dim text, block cursor prompt
#
# usage: source this file in .zshrc
setopt PROMPT_SUBST
_prompt_update() {