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' }