From 8aea34abd63c4fa70a28c86224530ff89c5b7a5a Mon Sep 17 00:00:00 2001 From: Knut Ahlers Date: Wed, 28 Aug 2019 14:13:53 +0200 Subject: [PATCH] Add aliases for mqttcli and l 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 091daad..8bf6530 100644 --- a/.zsh/config.sh +++ b/.zsh/config.sh @@ -46,7 +46,9 @@ alias firebase='docker run --rm -ti -v ~/.config/firebase:/home/node/.config -v alias gometalinter='gometalinter --enable-all -D aligncheck -D errcheck -D lll -D gas -D gochecknoglobals -D gochecknoinits -D dupl -D unparam -E misspell --cyclo-over=15 -e bindata.go --vendor' alias gsdk='docker run --rm -ti -v "${HOME}/.config/gcloud:/root/.config/gcloud" -v "${HOME}/.config/gcloud_ssh:/root/.ssh" -v $(pwd):$(pwd) -w $(pwd) google/cloud-sdk:alpine' alias htpasswd='python3 -c "import crypt; import sys; print(crypt.crypt(sys.argv[1], crypt.mksalt(crypt.METHOD_SHA512)));"' +alias l='ls --git -l' alias ls='/usr/bin/exa' +alias mqttcli='vault2env --key=secret/private/mqttcli -- mqttcli' alias mysql='docker run --rm -ti -v $(pwd):$(pwd) -w $(pwd) mysql bash' alias mysqlpw='python3 -c "import hashlib; import sys; print(\"*{}\".format(hashlib.sha1(hashlib.sha1(sys.argv[1].encode(\"utf-8\")).digest()).hexdigest().upper()))"' alias pushgallery='vault2env --key=secret/aws/private -- gallery --storage s3://io-luzifer-photos'