diff options
author | Hugues Hiegel <hugues@hiegel.fr> | 2008-03-07 00:28:46 +0100 |
---|---|---|
committer | Hugues Hiegel <hugues@hiegel.fr> | 2008-03-07 14:15:22 +0100 |
commit | c6cfb2102f415cedc4910f0dddedad9516e3580a (patch) | |
tree | 75a7e902a367de4842a0b72ea7c8e57916996a87 /01_Functions.zsh | |
parent | 85a5d3569db715605dc7799b8b495555f7311d51 (diff) |
=?utf-8?q?-=20pas=20de=20branche=20GIT=20dans=20les=20dossiers=20non=20g=C3=A9r=C3=A9s=20!!
=20-=20d=C3=A9claration=20de=20DATE=3D=20pour=20le=20prompt=20dans=20le=20bon=20bloc..?=
MIME-Version: 1.0
Content-Type: multipart/mixed; boundary="------------1.5.4.1"
This is a multi-part message in MIME format.
--------------1.5.4.1
Content-Type: text/plain; charset=UTF-8; format=fixed
Content-Transfer-Encoding: 8bit
Diffstat (limited to '01_Functions.zsh')
-rw-r--r-- | 01_Functions.zsh | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/01_Functions.zsh b/01_Functions.zsh index b2a9e2d..82bde17 100644 --- a/01_Functions.zsh +++ b/01_Functions.zsh @@ -47,6 +47,8 @@ get_git_branch () { local my_git_branch + [ "$(git-ls-files . | head -n 1)" == "" ] && return + # Get current working GIT branch my_git_branch="$(git-branch 2>&- | grep -E '^\* ' | cut -c3-)" |