zsh/pass-wrappers: Remove unnecessary functions

I no longer host a docker registry or minio server.
pull/52/head
Simon Bruder 2021-03-30 23:53:20 +02:00
parent 15075a818d
commit 9be9148da8
Signed by: simon
GPG Key ID: 8D3C82F9F309F8EC
1 changed files with 0 additions and 20 deletions

View File

@ -8,30 +8,10 @@ function drone() (
command drone $@
)
function drone-add-registry() {
drone secret add --name docker_username --data simon "$1"
drone secret add --name docker_password --data "$(pass sbruder.de/account | head -n 1)" "$1"
}
function drone-add-netlify() {
drone secret add --name netlify_auth_token --data "$(pass-field web/netlify.com Drone-Key)" "$1"
}
function drone-add-s3() {
drone secret add --name aws_access_key_id --data "$(pass-field sbruder.de/minio/personal User)" "$1"
drone secret add --name aws_secret_access_key --data "$(pass sbruder.de/minio/personal | head -n 1)" "$1"
}
function docker-ls() (
export DOCKER_LS_PASSWORD="$(pass sbruder.de/account | head -n 1)"
command docker-ls $@
)
function docker-rm() (
export DOCKER_LS_PASSWORD="$(pass sbruder.de/account | head -n 1)"
command docker-rm $@
)
function nixpkgs-review() (
export GITHUB_TOKEN="$(pass web/github.com/pat/nixpkgs-review)"
command nixpkgs-review $@