From 416cb1a8dd5bf3ed6f426048843c95c2e2550f27 Mon Sep 17 00:00:00 2001 From: davidovski Date: Sat, 4 May 2024 01:15:19 +0100 Subject: add more transparency --- mkshrc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'mkshrc') 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 "$?"` -- cgit v1.2.1