From 297f0f733e0a8834ccbf64296f402f6bf4feb634 Mon Sep 17 00:00:00 2001 From: Shrikant Sharat Date: Sat, 19 Jan 2013 11:49:51 +0530 Subject: [PATCH] The `-n` in url/dir functions screws up things. This was messing with `-cleanup`. The fix needs to add blank `echo`s after each call to `-antigen-get-clone-url` and `-antigen-get-clone-dir` in `-cleanup` function, or this. I think this is better. --- antigen.zsh | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/antigen.zsh b/antigen.zsh index e8de478..ca4edfd 100644 --- a/antigen.zsh +++ b/antigen.zsh @@ -140,9 +140,9 @@ antigen-revert () { echo -n $ADOTDIR/repos/ # prezto pmodload workaround if [[ "$1" == "https://github.com/sorin-ionescu/prezto.git" ]];then - echo -n .zprezto + echo .zprezto else - echo -n "$1" | sed \ + echo "$1" | sed \ -e 's./.-SLASH-.g' \ -e 's.:.-COLON-.g' \ -e 's.|.-PIPE-.g' @@ -155,9 +155,9 @@ antigen-revert () { # prezto pmodload workaround if [[ "$1" == ".zprezto" ]];then - echo -n https://github.com/sorin-ionescu/prezto.git + echo https://github.com/sorin-ionescu/prezto.git else - echo -n "$1" | sed \ + echo "$1" | sed \ -e "s:^$ADOTDIR/repos/::" \ -e 's.-SLASH-./.g' \ -e 's.-COLON-.:.g' \ -- 2.0.0