zsh/pass-wrappers: Drop

I can’t remember using them.
This commit is contained in:
Simon Bruder 2024-01-06 03:02:23 +01:00
parent 73e99ec61b
commit d86ad02cee
Signed by: simon
GPG key ID: 8D3C82F9F309F8EC
2 changed files with 0 additions and 15 deletions

View file

@ -120,8 +120,6 @@ in
# history # history
setopt HIST_IGNORE_ALL_DUPS setopt HIST_IGNORE_ALL_DUPS
source ${./pass-wrappers.zsh}
'') '')
]; ];
}; };

View file

@ -1,13 +0,0 @@
function pass-field() {
pass show "$1" | grep "$2" | cut -d: -f2- | tr -d ' '
}
function drone() (
export DRONE_SERVER="$(pass-field sbruder.de/drone Server)"
export DRONE_TOKEN="$(pass sbruder.de/drone | head -n 1)"
command drone $@
)
function drone-add-netlify() {
drone secret add --name netlify_auth_token --data "$(pass-field web/netlify.com Drone-Key)" "$1"
}