diff options
-rw-r--r-- | zsh/git.zsh | 13 |
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/}) " |