From d0448539e7df81c957fd1ed4c9469c5a41283e7e Mon Sep 17 00:00:00 2001 From: Knut Ahlers Date: Sat, 2 Dec 2017 20:01:00 +0100 Subject: [PATCH] Add alias for share command Signed-off-by: Knut Ahlers --- .zsh/config.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/.zsh/config.sh b/.zsh/config.sh index 807bf0d..65d1c3b 100644 --- a/.zsh/config.sh +++ b/.zsh/config.sh @@ -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