[zsh] add lexicon function (credentials)
This commit is contained in:
parent
eb2697bafc
commit
85fa9f6fea
|
@ -238,3 +238,12 @@ function docker-rm() {
|
||||||
DOCKER_LS_PASSWORD=$(pass show accounts/sbruderldap|head -n 1) ~/bin/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 $@
|
||||||
|
)
|
||||||
|
}
|
||||||
|
|
Reference in a new issue