From: Silvio Rhatto Date: Sun, 26 Mar 2017 00:36:19 +0000 (-0300) Subject: ZTD: no output of cd command if CDPATH is in use X-Git-Url: https://gitweb.fluxo.info/?a=commitdiff_plain;h=1b7f2cc5f57e0480143d045ce08b7c1b80b4cfe9;p=scripts.git ZTD: no output of cd command if CDPATH is in use --- diff --git a/ztd b/ztd index 1961064..5610aba 100755 --- a/ztd +++ b/ztd @@ -8,7 +8,7 @@ PROJECT="$1" # Try to get there if [ ! -z "$PROJECT" ]; then - cd $PROJECT + cd $PROJECT &> /dev/null elif ! git status &> /dev/null; then cd remind ~/.reminders | grep -v '^No reminders.$'