aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xstatus3
1 files changed, 3 insertions, 0 deletions
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