Skip to content

hevi9/infoline-zsh-theme

Repository files navigation

Infoline zsh prompt theme

Screenshot of Infoline

Features

  • Line to separate program output and provide information
  • Show host if in remote (ssh) computer
  • Show Current Working directory
    • Current dir part as green if can write, red if not
  • Show git status if exists (and others via zsh vcs_info)
    • Branch name with color: purple for untracked files, yellow for unstaged files and blue for staged files
    • Repo N⭱ ahead or N⭳ behind.
    • Merge ⭾ etc action state (via vcs_info)
  • Program return code if error
  • N⚙ Number of spawned jobs from shell
  • ⮇ Shell level indicator
  • Disk usage alert if over 80% yellow or 90% red capacity and show on $HOME capacity
  • ▶ Start arrow with color and name if not login user

Limitations

  • Uses 8-colors, works best with Solarized or Dark Pastels color-schemes.

Install Instructions

  1. Git clone
> cd ~/src   # or wherever you like to collect local git repositories
> git clone https://github.com/hevi9/infoline-zsh-theme.git
  1. Edit .zshrc
source $HOME/src/infoline-zsh-theme/infoline.zsh-theme

.. or use your's favorite zsh package manager.

Requirements

Configuration

No configuration yet. Good to go as it is. Configurations will be added by need basis.

Notes

  • This prompt theme had python implementation, but it was too slow: 120ms to 350ms for prompt use. User experience was sluggish and slowness interfere completion with slow redraw of prompt. If interested about python implementation see pythonsave branch.

Todos, Enchantments, Bugs, Issues ..

https://github.com/hevi9/infoline-zsh-theme/issues

About

Infoline zsh theme (oh my zsh)

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published