added restic wrapper

This commit is contained in:
Jonas Forsberg 2021-05-28 07:08:18 +02:00
parent adbbee208a
commit cb5d545d8d
No known key found for this signature in database
GPG Key ID: F2E9818C70350CC9

View File

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