From c09b929a0aecaa5cd15956b3e51e9e7b107c6dc3 Mon Sep 17 00:00:00 2001 From: Aminda Suomalainen Date: Mon, 12 Aug 2024 10:46:20 +0300 Subject: [PATCH] /dev/null cares about branch we want to exist existing, no matter how fatal --- install-on-tails.bash | 2 +- rc/bashrc | 2 +- rc/zshrc | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/install-on-tails.bash b/install-on-tails.bash index e34d44b7..620b614f 100755 --- a/install-on-tails.bash +++ b/install-on-tails.bash @@ -46,7 +46,7 @@ if [ -d "$SHELL_THINGS_REPO" ]; then cd $SHELL_THINGS_REPO git remote set-url origin https://codeberg.org/Aminda/shell-things.git git fetch --all - git checkout -b cxefa origin/cxefa + git checkout -b cxefa origin/cxefa > /dev/null 2>&1 git pull git submodule update --init git config --global gpg.ssh.allowedSignersFile "$SHELL_THINGS_REPO/submodules/ssh-allowed_signers/allowed_signers" diff --git a/rc/bashrc b/rc/bashrc index b445c379..2434f43e 100755 --- a/rc/bashrc +++ b/rc/bashrc @@ -749,7 +749,7 @@ function shell-things { cd $SHELL_THINGS_REPO git remote set-url origin https://codeberg.org/Aminda/shell-things.git git fetch --all - git checkout -b cxefa origin/cxefa + git checkout -b cxefa origin/cxefa > /dev/null 2>&1 git pull echo "git config --global gpg.ssh.allowedSignersFile ~/src/codeberg.org/Aminda/ssh-allowed_signers/allowed_signers" git verify-commit HEAD || exit 1 diff --git a/rc/zshrc b/rc/zshrc index e85e8fdb..065019a6 100755 --- a/rc/zshrc +++ b/rc/zshrc @@ -735,7 +735,7 @@ function shell-things { cd $SHELL_THINGS_REPO git remote set-url origin https://codeberg.org/Aminda/shell-things.git git fetch --all - git checkout -b cxefa origin/cxefa + git checkout -b cxefa origin/cxefa > /dev/null 2>&1 git pull echo "git config --global gpg.ssh.allowedSignersFile ~/src/codeberg.org/Aminda/ssh-allowed_signers/allowed_signers" git verify-commit HEAD || exit 1