From 7a64b316478e313bd0ea085ddf3566e3d78fb919 Mon Sep 17 00:00:00 2001 From: Silvio Rhatto Date: Thu, 1 Dec 2016 15:25:08 -0200 Subject: ZTD: detect when inside a git project --- ztd | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ztd b/ztd index 29ea61f..966178d 100755 --- a/ztd +++ b/ztd @@ -9,7 +9,7 @@ PROJECT="$1" # Try to get there if [ ! -z "$PROJECT" ]; then cd $PROJECT -else +else if [ ! -d '.git' ]; then cd remind ~/.reminders | grep -v '^No reminders.$' status -- cgit v1.2.3