summaryrefslogtreecommitdiff
path: root/mkshrc
diff options
context:
space:
mode:
authordavidovski <david@davidovski.xyz>2024-05-04 01:15:19 +0100
committerdavidovski <david@davidovski.xyz>2024-05-04 01:15:19 +0100
commit416cb1a8dd5bf3ed6f426048843c95c2e2550f27 (patch)
tree023a75cf0b5926fa25c62f6be923e589bfab0d57 /mkshrc
parent2596f818e085ed724597ecb0028ec2536392203b (diff)
add more transparency
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 "$?"`