From: Silvio Rhatto Date: Sun, 14 May 2017 17:26:35 +0000 (-0300) Subject: Check the status of the current project at status script X-Git-Url: https://gitweb.fluxo.info/?a=commitdiff_plain;h=c4d92f45ef4afe6e58c7e7b9ed5c58c1867e2243;p=scripts.git Check the status of the current project at status script --- diff --git a/status b/status index 98a11f0..397abce 100755 --- a/status +++ b/status @@ -10,6 +10,9 @@ PROJECT="$1" if [ ! -z "$PROJECT" ]; then # Check the status of the given project cd $PROJECT &> /dev/null && git status +elif git status &> /dev/null; then + # Check the status of the current project + mr status else # Ensure we are in the home folder cd