diff options
author | Hugues Hiegel <hugues@hiegel.fr> | 2008-03-27 08:37:28 +0100 |
---|---|---|
committer | Hugues Hiegel <hugues@hiegel.fr> | 2008-03-27 08:37:28 +0100 |
commit | ce9c604ca0515d9dab62c2a59579e9651ad2773f (patch) | |
tree | 69aea38c2b6ff71b1fbcef2dc2267d37557d27a5 /01_Functions.zsh | |
parent | b9d078c02449ee54d684a93c367839fc6bf6cbaf (diff) | |
parent | a29f80d7684c725d81e8923d5d680384f7078db7 (diff) |
Merge branch 'master' of ssh://hiegel.fr/work/repos/zdotdir
Diffstat (limited to '01_Functions.zsh')
-rw-r--r-- | 01_Functions.zsh | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/01_Functions.zsh b/01_Functions.zsh index 58a4ba5..3d1221d 100644 --- a/01_Functions.zsh +++ b/01_Functions.zsh @@ -87,13 +87,13 @@ get_git_status () if [ "$(git-rev-parse --git-dir)" == "." ] then - my_git_status="$COLOR_GIT_MANAGMENT" + my_git_status="$git_colors[managment_folder]" elif [ "$(git-diff --cached 2>&- | grep '^diff ')" != "" ] ; then - my_git_status="$COLOR_GIT_CACHED" + my_git_status="$git_colors[cached]" elif [ "$(git-ls-files -m 2>&-)" != "" ] ; then - my_git_status="$COLOR_GIT_NOT_UP_TO_DATE" + my_git_status="$git_colors[not_up_to_date]" else - my_git_status="$COLOR_GIT_UP_TO_DATE" + my_git_status="$git_colors[up_to_date]" fi echo $my_git_status |