iay
July 30, 2026 ยท View on GitHub
{ba, z}sh prompt written in rust.
~/D/g/a/iay main [!] %
- Bash users can set
PS1directly:
PS1='$(iay)' # regular variant
PS1='$(iay -m)' # minimal variant
- zsh users, add this to your
.zshrc:
autoload -Uz add-zsh-hook
_iay_prompt() {
PROMPT="$(iay -z)" # regular variant
# PROMPT="$(iay -zm)" # miminal variant
}
add-zsh-hook precmd _iay_prompt
Verify prompt states
Run the disposable Git-state verifier to display and check clean, untracked, unstaged, staged, stash, ahead, and behind prompts:
./scripts/verify-prompt
Set IAY_COMMAND to test an already-built binary instead of building the
current checkout.
Configure the prompt
Configurations for the prompt.
Screenshots
