Skip to content

kimyvgy/gitstatus-zsh-theme

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Gitstatus ZSH theme

Fish-like gitstatus theme for ZSH. Simple is the best!

screenshot

Features

  • Shows command return status
  • Show full pwd
  • Support Fish-like shrink path
# shrink path is enabled:
/home/kimyvgy/kimnh-0823/mayfest/docker -> ~/k/m/docker

# shrink path is disabled:
/home/kimyvgy/kimnh-0823/mayfest/docker -> ~/kimnh-0823/mayfest/docker
  • Show git status (branch, color)

Installation

  • Clone this repository into ~/.oh-my-zsh/custom/themes folder:
git clone https://github.com/kimyvgy/gitstatus-zsh-theme.git ${ZSH_CUSTOM}/themes/gitstatus
  • Activate this theme in ~/.zshrc file:
ZSH_THEME="gitstatus/gitstatus"
  • Apply theme:
source ~/.zshrc
  • Enable shrink-path plugin which is included in oh-my-zsh, you just only enable plugin:
# ~/.zshrc
plugins=(shrink-path [...plugins])

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages