diff options
-rwxr-xr-x | git-prompt.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/git-prompt.sh b/git-prompt.sh index 88db6bc..f951623 100755 --- a/git-prompt.sh +++ b/git-prompt.sh @@ -414,7 +414,7 @@ parse_git_status() { parse_git_complete ########################################################## GIT STATUS - file_regex='\([^/]*\/\?\).*' + file_regex='\([^/]*\/\{0,1\}\).*' added_files=() modified_files=() untracked_files=() |