Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

blinks theme: prompt now shows if you're in a Hg/Mercurial folder #1082

Closed
wants to merge 1 commit into from

2 participants

Steve Haßenpflug Robby Russell
Steve Haßenpflug

I'm using Hg at work, love the solarized colorscheme and the blinks theme, so i think this should be useful for some folks.

Robby Russell
Owner

Thanks for sending this across. However, at this point in time... I am not going to be accepting any new themes for a while. My aim is to work out a new solution for how to manage user theme contributions better in the future, but am thinking that 100+ is already too many for folks to browse/select from. :-)

Be sure to follow @ohmyzsh on twitter ( http://twitter.com/ohmyzsh ) to stay tuned for when we might have a good location for such themes.

ProTip: If you have a custom theme and want to use it... you might check out this (poorly documented) feature from pull-request #1111.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
This page is out of date. Refresh to see the latest.
Showing with 2 additions and 0 deletions.
  1. +2 −0  themes/blinks.zsh-theme
2  themes/blinks.zsh-theme
View
@@ -3,6 +3,8 @@
function _prompt_char() {
if $(git rev-parse --is-inside-work-tree >/dev/null 2>&1); then
echo "%{%F{blue}%}±%{%f%k%b%}"
+ elif $(hg root > /dev/null 2>&1); then
+ echo "%{%F{blue}%}☿%{%f%k%b%}"
else
echo ' '
fi
Something went wrong with that request. Please try again.