From: Richard Hartmann Date: Fri, 20 Dec 2013 22:34:54 +0000 (-0800) Subject: Merge pull request #98 from dottedmag/fix--echo-n-os-x X-Git-Url: https://git.madduck.net/code/vcsh.git/commitdiff_plain/31bf9d8590021c2c236038b7b2fb08a59b507b43?hp=c0ab51a5ffcff6bed20c05476fcd661c0ab3f28b Merge pull request #98 from dottedmag/fix--echo-n-os-x Use printf, not echo -n to print messages without newline --- diff --git a/vcsh b/vcsh index cb7eada..58b5744 100755 --- a/vcsh +++ b/vcsh @@ -247,7 +247,7 @@ list_tracked_by() { pull() { hook pre-pull for VCSH_REPO_NAME in $(list); do - echo -n "$VCSH_REPO_NAME: " + printf "$VCSH_REPO_NAME: " export GIT_DIR="$VCSH_REPO_D/$VCSH_REPO_NAME.git" use git pull @@ -259,7 +259,7 @@ pull() { push() { hook pre-push for VCSH_REPO_NAME in $(list); do - echo -n "$VCSH_REPO_NAME: " + printf "$VCSH_REPO_NAME: " export GIT_DIR="$VCSH_REPO_D/$VCSH_REPO_NAME.git" use git push