diff options
author | Leonid Volnitsky <Leonid@Volnitsky.com> | 2008-06-23 10:51:14 +0300 |
---|---|---|
committer | Leonid Volnitsky <Leonid@Volnitsky.com> | 2008-06-23 10:51:14 +0300 |
commit | 39b69b38c48e8ab2b13129ffc7c99549321da4d3 (patch) | |
tree | 88a991688a5772a9fdb70c56d7141675e815726e /prompt | |
parent | rfct: extacted git_modules, svn_modules (diff) | |
download | git-prompt-39b69b38c48e8ab2b13129ffc7c99549321da4d3.tar.gz git-prompt-39b69b38c48e8ab2b13129ffc7c99549321da4d3.tar.bz2 git-prompt-39b69b38c48e8ab2b13129ffc7c99549321da4d3.zip |
rfct: added local vars defs
Diffstat (limited to 'prompt')
-rwxr-xr-x | prompt | 11 |
1 files changed, 6 insertions, 5 deletions
@@ -265,6 +265,12 @@ git_module() { [[ $git_dir ]] || return + local branch status git_color file_list + local clean added modified untracked detached + local git_modified_files + local git_untracked_files + local git_added_files + eval ` git status 2>/dev/null | sed -n " @@ -374,11 +380,6 @@ git_module() { head_local="${head_local+$git_color $head_local\n}" tail_local="${tail_local+$git_color $tail_local}${dir_color}" - unset branch status git_color sep file_list - unset clean added modified untracked detached - unset git_modified_files - unset git_untracked_files - unset git_added_files } ############################################################### PROMPT_COMMAND |