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 {