From cb5d545d8d6aa86202ead9a2b880a0a10afda5e7 Mon Sep 17 00:00:00 2001 From: Jonas Forsberg Date: Fri, 28 May 2021 07:08:18 +0200 Subject: [PATCH] added restic wrapper --- .functions.sh | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.functions.sh b/.functions.sh index b32e62a..5e9b0bf 100644 --- a/.functions.sh +++ b/.functions.sh @@ -1,5 +1,10 @@ #!/bin/bash +function restic(){ + source $HOME/.restic/restic.env + /usr/bin/restic --cacert="$HOME"/.restic/cert.pem "$@" +} + function kube_gbt(){ export GBT_CARS='OS, Custom4, Git, Kubectl, Dir, Custom1, Custom2, Custom3, PyVirtEnv, Status, Sign' }