summaryrefslogtreecommitdiff
path: root/mkshrc
diff options
context:
space:
mode:
Diffstat (limited to 'mkshrc')
-rw-r--r--mkshrc2
1 files changed, 1 insertions, 1 deletions
diff --git a/mkshrc b/mkshrc
index 293c712..d528096 100644
--- a/mkshrc
+++ b/mkshrc
@@ -35,7 +35,7 @@ parse_git_branch() {
fi
}
-parse_git_dirty () {
+parse_git_dirty() {
status=`git status 2>&1 | tee`
dirty=`echo -n "${status}" 2> /dev/null | grep "modified:" &> /dev/null; echo "$?"`
untracked=`echo -n "${status}" 2> /dev/null | grep "Untracked files" &> /dev/null; echo "$?"`