From 53341a1ff7a57c8f4000ab26a35ef09e12aa028d Mon Sep 17 00:00:00 2001 From: Knut Ahlers Date: Sun, 6 May 2018 14:47:40 +0200 Subject: [PATCH] Add aliases for clasp and firebase in containers Signed-off-by: Knut Ahlers --- .zsh/config.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.zsh/config.sh b/.zsh/config.sh index b800940..a232002 100644 --- a/.zsh/config.sh +++ b/.zsh/config.sh @@ -32,6 +32,8 @@ bindkey "\033[4~" end-of-line ## Aliases alias alpine='docker run --rm -ti alpine /bin/sh' alias bcrypt='python3 -c "import bcrypt; import sys; print(bcrypt.hashpw(sys.argv[1].encode(\"utf-8\"), bcrypt.gensalt(10)).decode(\"utf-8\"))"' +alias clasp='docker run --rm -ti -v ~/.config/clasp:/home/node -v $(pwd):$(pwd) -w $(pwd) luzifer/clasp' +alias firebase='docker run --rm -ti -v ~/.config/firebase:/home/node/.config -v $(pwd):$(pwd) -w $(pwd) luzifer/firebase' alias gometalinter='gometalinter --enable-all -D aligncheck -D errcheck -D lll -D gas -E misspell --cyclo-over=15 -e bindata.go --vendor' alias htpasswd='python3 -c "import crypt; import sys; print(crypt.crypt(sys.argv[1], crypt.mksalt(crypt.METHOD_SHA512)));"' alias mysql='docker run --rm -ti -v $(pwd):$(pwd) -w $(pwd) mysql bash'