{ba, z}sh prompt written in rust.
console
~/D/g/a/iay main [!] %
PS1
:shell
PS1='$(iay)' # regular variant
PS1='$(iay -m)' # minimal variant
.zshrc
:shell
autoload -Uz add-zsh-hook
_iay_prompt() {
PROMPT="$(iay -z)" # regular variant
# PROMPT="$(iay -zm)" # miminal variant
}
add-zsh-hook precmd _iay_prompt
Configurations for the prompt.