Add alias for share command

Signed-off-by: Knut Ahlers <knut@ahlers.me>
This commit is contained in:
Knut Ahlers 2017-12-02 20:01:00 +01:00
parent 1b82a2caed
commit d0448539e7
Signed by: luzifer
GPG key ID: DC2729FDD34BE99E

View file

@ -36,6 +36,7 @@ alias alpine='docker run --rm -ti alpine /bin/sh'
alias gometalinter='gometalinter --enable-all -D aligncheck -D errcheck -D lll --cyclo-over=15 -e bindata.go --vendor'
alias mysql='docker run --rm -ti -v $(pwd):$(pwd) -w $(pwd) mysql bash'
alias :q='exit'
alias share='AWS_REGION=us-east-1 vault2env --key=secret/aws/private -- share --bucket=share-luzifer-io-s3bucket-164ztrtyq1f35 --base-path="file/{{ printf \"%.6s\" .Hash}}" --base-url="https://share.luzifer.io/#"'
## Initialize GPG agent
source ${HOME}/.zsh/gpg-agent.plugin.zsh