Skip to content

bengoism/zsh-theme-racotecnic

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 

Repository files navigation

Racó Tècnic ZSH Theme

ZSH theme based on Andy Fleming's theme af-magic and inspired by the posh-git features.

screenshot

Installing

As oh-my-zsh is not accepting more themes right now, you will need to manually download and install the theme in your themes folder.

If you use oh-my-zsh you can do...

# using CURL
curl -L https://github.com/elboletaire/zsh-theme-racotecnic/raw/master/racotecnic.zsh-theme > ~/.oh-my-zsh/themes/racotecnic.zsh-theme
# using wget
wget --no-check-certificate -O ~/.oh-my-zsh/themes/racotecnic.zsh-theme https://github.com/elboletaire/zsh-theme-racotecnic/raw/master/racotecnic.zsh-theme

After that simply change the ZSH_THEME value to racotecnic:

# ~/.zshrc
ZSH_THEME="racotecnic"

The Prompt

The prompt is similar to the posh-git prompt with two little differences:

  • The zeros have been removed, in order to give up some space to the term.
  • If you have stashed changes it will appear an asterisk in the right side of the left prompt.

The status summary has the following format:

[{HEAD-name} +A ~B -C !D | +E ~F -G !H ! *]
  • {HEAD-name} is the current branch, or the SHA of a detached HEAD
  • Blue means the branch matches its remote
  • Green means the branch is ahead of its remote (green light to push)
  • Red means the branch is behind its remote
  • Yellow means the branch is both ahead of and behind its remote
  • ABCD represent the index; EFGH represent the working directory
  • + = Added files
  • ~ = Modified files
  • - = Removed files
  • ! = Conflicted files
  • As in git status, index status is dark green and working directory status is dark red
  • The trailing * represents stashed changes
  • The trailing ! means there are untracked files

Based on work by

Releases

No releases published

Packages

No packages published