don't echo in non-interactive shell

This causes problems with cron scripts, as well as using `git push` with a `ssh://` url. 
I _think_ this is bash/zsh compatible.