Skip to content

Latest commit

 

History

History
34 lines (23 loc) · 1.07 KB

README.md

File metadata and controls

34 lines (23 loc) · 1.07 KB

Bureau ZSH prompt

Just a prompt for ZSH. The right prompt is asynchronous, so it work fine even on large repositories.

It is reincarnation of my bureau theme for oh-my-zsh. I created it when I stopped using oh-my-zsh.

bureau zsh prompt

It shows on the left:

  • user name,
  • host name,
  • current path.

On the right:

  • current time,
  • current git branch (called test on screenshot),
  • staged and unstaged files (green and red bullets),
  • current action (rebase or merge).

Usage

Add following string to your .zshrc:

source /path/to/prompt_bureau_setup.zsh [color1] [color2] [color3]

Colors are optional. If you pass only one color, it will be used for username, hostname and current branch. If you pass two colors, the first will be used for username and branch, and the second for hostname. If you pass three colors, it will be used for username, hostname and branch accordingly.