Commit graph

7 commits

Author SHA1 Message Date
Brosseau Valentin
d5ed39a148 Fix to make the script works with any language
Hi,

The script fail when the language of the system is not set at "en_US.UTF-8" . I have made change to force the lang to en_US.UTF-8 when this script run.

I also notice the behead_re and  diverge_re regexp are wrong. (extra # and space at the begining)

Now the gitstatus.py return the correct informations.
2014-12-31 11:44:17 +01:00
ncanceill
5756ea0101 Revert "specify python2 in shebang"
"/usr/bin/python2" does not exist on Mac OSX (see #2382), so fuck people who have
"python" symlinked to "python3"

This reverts commit e5ed07e2b5
2014-07-16 12:27:01 +02:00
ncanceill
e5ed07e2b5 specify python2 in shebang
as suggested in #2382
2014-06-04 12:36:34 +02:00
Paweł Tomak
cee52283d8 Fix for Python3
In Python3 without universal_newlines set to True
output from Popen was byte-encoded.
2014-04-18 23:09:38 +02:00
Chris Jones
c397000b3b grab last item in list which is the branch instead of relying on position. 2014-02-21 22:48:38 -08:00
Chris Jones
7a546362d3 Much needed PEP8 love. Use spaces, not tabs. 2014-02-21 22:47:56 -08:00
Justin Riley
e5f77b8f04 add git-prompt plugin from olivierverdier/zsh-git-prompt 2011-04-28 15:05:52 -04:00