aboutsummaryrefslogtreecommitdiff
path: root/status
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2017-05-14 14:26:35 -0300
committerSilvio Rhatto <rhatto@riseup.net>2017-05-14 14:26:35 -0300
commitc4d92f45ef4afe6e58c7e7b9ed5c58c1867e2243 (patch)
treeddc2af77253116612f86b47c0bf200bf651da228 /status
parentc47d3cf3c0632b2f8d0c51bc4b535278a614e7e1 (diff)
downloadscripts-c4d92f45ef4afe6e58c7e7b9ed5c58c1867e2243.tar.gz
scripts-c4d92f45ef4afe6e58c7e7b9ed5c58c1867e2243.tar.bz2
Check the status of the current project at status script
Diffstat (limited to 'status')
-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