aboutsummaryrefslogtreecommitdiff
path: root/zsh
diff options
context:
space:
mode:
authorMatt Singleton <matthew.j.singleton@gmail.com>2011-02-18 19:21:35 -0500
committerMatt Singleton <matthew.j.singleton@gmail.com>2011-02-18 19:21:35 -0500
commit658a70c8316fdecc0047a78ca7515ea28ec7959c (patch)
tree546287b0b3edd178cdb86cfffefb9b16f9ca826a /zsh
parentfec62fd40527d4398d7c70dd2e46fe8d9016aade (diff)
removing unused git functions
Diffstat (limited to 'zsh')
-rw-r--r--zsh/git.zsh13
1 files changed, 0 insertions, 13 deletions
diff --git a/zsh/git.zsh b/zsh/git.zsh
index b0ec297..e20ef91 100644
--- a/zsh/git.zsh
+++ b/zsh/git.zsh
@@ -1,18 +1,5 @@
#done
-function parse_git_branch {
- echo "${ref#refs/heads/}"
-}
-
-function parse_git_staged {
- $(git diff-index --quiet --cached HEAD) && return
- echo "staged"
-}
-function parse_git_unstaged {
- $(git diff-files --quiet) && return
- echo "unstaged"
-}
-
function git_prompt_info {
ref=$(git symbolic-ref HEAD 2> /dev/null) || return
echo "(${ref#refs/heads/}) "