#shell-prompt #shell #prompt #zsh #bash

bin+lib iay

iay! The minimalistic, blazing-fast, and extendable prompt for bash and zsh

10 unstable releases (3 breaking)

0.4.2 May 7, 2023
0.4.0 Nov 29, 2022
0.3.0 Aug 27, 2022
0.2.0 May 3, 2022
0.1.3 Dec 31, 2021

#2709 in Command line utilities

MIT license

18KB
412 lines

iay

{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

Configure the prompt

Configurations for the prompt.

Screenshots

base16-iay gruvbox-iay

Dependencies

~11MB
~274K SLoC