{ba, z}sh prompt written in rust.
~/D/g/a/iay main [!] %
- bash users, set your
PS1
:
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
Configurations for the prompt.