From 924390287b4bc5c08a5416e24ea9e65a1c0c1a8d Mon Sep 17 00:00:00 2001 From: svxf Date: Sat, 13 Oct 2018 03:54:06 +0400 Subject: [PATCH] redirect to new server --- .zprezto/abra/functions.zsh | 18 +++++++++++------- 1 file changed, 11 insertions(+), 7 deletions(-) diff --git a/.zprezto/abra/functions.zsh b/.zprezto/abra/functions.zsh index 54a6264..ce85fbd 100644 --- a/.zprezto/abra/functions.zsh +++ b/.zprezto/abra/functions.zsh @@ -254,6 +254,9 @@ function update_.g { return fi + # force updating origin to new server + .g remote set-url origin https://gitea.abra.me/svxf/dotfiles.git + local RES="$(.g pull --no-stat 2>&1)" if [[ $? != 0 ]]; then @@ -261,13 +264,14 @@ function update_.g { return fi - if [[ ! $RES =~ "Already up.to.date" ]]; then - echo "Updated .g" - echo $RES - echo "======" - echo - zshreload - fi + # no verbose :( + # if [[ ! $RES =~ "Already up.to.date" ]]; then + # echo "Updated .g" + # echo $RES + # echo "======" + # echo + # zshreload + # fi } function .sh_setup {