[zsh] add lexicon function (credentials)

legacy
Simon Bruder 2019-06-14 14:53:16 +00:00
parent eb2697bafc
commit 85fa9f6fea
No known key found for this signature in database
GPG Key ID: 6F03E0000CC5B62F
1 changed files with 9 additions and 0 deletions

View File

@ -238,3 +238,12 @@ function docker-rm() {
DOCKER_LS_PASSWORD=$(pass show accounts/sbruderldap|head -n 1) ~/bin/docker-rm $@
)
}
## lexicon
function lecicon() {
(
LEXICON_HENET_USERNAME="$(pass management/he|grep User|cut -d: -f2|tr -d ' ')"
LEXICON_HENET_PASSWORD="$(pass management/he|head -n 1)"
lexicon $@
)
}