]> arthur.barton.de Git - ax-zsh.git/commitdiff
git: Add aliases for parse_git_dirty & git_prompt_info
authorAlexander Barton <alex@barton.de>
Sun, 3 Feb 2019 13:33:25 +0000 (14:33 +0100)
committerAlexander Barton <alex@barton.de>
Sun, 3 Feb 2019 13:52:01 +0000 (14:52 +0100)
Those functions are defined by OhMyZsh and used by some themes.

plugins/git/git.zshrc

index c6d1e0e6d82911ab6ee24154e4c3f2c26d6ac27a..416f8bd1c5ad516f49344b4dfee106616dd4132d 100644 (file)
@@ -42,6 +42,10 @@ git_prompt() {
        return 0
 }
 
+# OhMyZsh compatibility functions
+alias git_prompt_info=git_prompt
+alias parse_git_dirty=git_parse_dirty
+
 ax_vcs_prompt_functions=($ax_vcs_prompt_functions git_prompt)
 
 alias ga="git add"