aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2017-03-25 21:36:19 -0300
committerSilvio Rhatto <rhatto@riseup.net>2017-03-25 21:36:19 -0300
commit1b7f2cc5f57e0480143d045ce08b7c1b80b4cfe9 (patch)
tree6202534ae5f6bd0f438d4cd01ddad9a99d2f9756
parent86b4377edcaa2605c990f468b1c59654518d4058 (diff)
downloadscripts-1b7f2cc5f57e0480143d045ce08b7c1b80b4cfe9.tar.gz
scripts-1b7f2cc5f57e0480143d045ce08b7c1b80b4cfe9.tar.bz2
ZTD: no output of cd command if CDPATH is in use
-rwxr-xr-xztd2
1 files changed, 1 insertions, 1 deletions
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.$'