Home

Awesome

rb.zsh-theme

A ZSH theme based on agnoster, optimised for people who:

This has been tweaked under Mac with Solarized dark and a good Unicode font (Fira Code Light)

Compatibility

This comes straight from agnoster, since my theme uses the same formatting code

In all likelihood, you will need to install a Powerline-patched font for this theme to render correctly.

To test if your terminal and font support it, check that all the necessary characters are supported by copying the following command to your terminal: echo "\ue0b0 \u00b1 \ue0a0 \u27a6 \u2718 \u26a1 \u2699". The result should look like this:

Character Example

What does it show?

Screenshot

Shortened branches

I use a small, inlined awk script to shorten git branches depending on some rules:

Helpers

A helper function (which I alias to oj) opens the corresponding JIRA issue. Similarly, og opens the github page for the project. This last one could be in my general zsh configuration, but I decided to bind it to the theme code (since it is when it occurred to me)

Possible changes

I may tweak it to apply the non-shortening of ticket numbers to follow also the Spark ticket system, and add the corresponding issue tracker helper.